Skip to content

Instantly share code, notes, and snippets.

@csouchet
Created March 24, 2021 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csouchet/dda62f5f7fec77f60a32e90509459173 to your computer and use it in GitHub Desktop.
Save csouchet/dda62f5f7fec77f60a32e90509459173 to your computer and use it in GitHub Desktop.
Configure Jest
module.exports = {
rootDir: '../..',
roots: ['./test/e2e', './src'],
transform: { '^.+\\.ts?$': 'ts-jest' },
testMatch: ['**/?(*.)+(spec|test).[t]s'],
testPathIgnorePatterns: ['/node_modules/', 'dist', 'src'],
testTimeout: 200000,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment