Mercurial > code > home > repos > streamed-graph
annotate jest.config.js @ 29:45ed53428e74
fix configs to run tests (all in one bundle though)
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Dec 2019 21:18:42 -0800 |
parents | 94629c39681c |
children | 3d8b98e9c01d |
rev | line source |
---|---|
17 | 1 module.exports = { |
2 transform: { | |
3 "^.+\\.tsx?$": "ts-jest" | |
4 }, | |
5 testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", | |
6 testPathIgnorePatterns: ["/lib/", "/node_modules/"], | |
7 moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], | |
8 collectCoverage: true, | |
9 globals: { | |
10 'ts-jest': { | |
11 packageJson: 'package.json', | |
29
45ed53428e74
fix configs to run tests (all in one bundle though)
drewp@bigasterisk.com
parents:
17
diff
changeset
|
12 babelConfig: true |
17 | 13 } |
29
45ed53428e74
fix configs to run tests (all in one bundle though)
drewp@bigasterisk.com
parents:
17
diff
changeset
|
14 }, |
45ed53428e74
fix configs to run tests (all in one bundle though)
drewp@bigasterisk.com
parents:
17
diff
changeset
|
15 resolver: require.resolve(`jest-pnp-resolver`) |
17 | 16 }; |