annotate jest.config.js @ 22:e90d9021c6a0
add back s-g code; this breaks the build a little. WIP
author |
drewp@bigasterisk.com |
date |
Fri, 13 Dec 2019 01:39:29 -0800 |
parents |
94629c39681c |
children |
45ed53428e74 db0e9cbf52e5 |
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',
|
|
12 }
|
|
13 }
|
|
14 }; |