Skip to content

Instantly share code, notes, and snippets.

@ng-the-engineer
Created January 17, 2021 17:00
Show Gist options
  • Save ng-the-engineer/492393de97c77e783bec52dedb5d037d to your computer and use it in GitHub Desktop.
Save ng-the-engineer/492393de97c77e783bec52dedb5d037d to your computer and use it in GitHub Desktop.
Code snippet: Jest config with roots
module.exports = {
// skipped other properties
roots: [
'<rootDir>/source/' // pointing to tests directory
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment