annotate jest.config.js @ 26:7fe46400f04b

jsonld module now does async
author drewp@bigasterisk.com
date Fri, 13 Dec 2019 23:52:43 -0800
parents 94629c39681c
children 45ed53428e74 db0e9cbf52e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
1 module.exports = {
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
2 transform: {
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
3 "^.+\\.tsx?$": "ts-jest"
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
4 },
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
5 testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
6 testPathIgnorePatterns: ["/lib/", "/node_modules/"],
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
7 moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
8 collectCoverage: true,
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
9 globals: {
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
10 'ts-jest': {
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
11 packageJson: 'package.json',
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
12 }
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
13 }
94629c39681c trying to do ts+jest. WIP
drewp@bigasterisk.com
parents:
diff changeset
14 };