comparison jest.config.js @ 17:94629c39681c

trying to do ts+jest. WIP
author drewp@bigasterisk.com
date Thu, 12 Dec 2019 22:52:57 -0800
parents
children 45ed53428e74 db0e9cbf52e5
comparison
equal deleted inserted replaced
14:497d50f8fe5b 17:94629c39681c
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 };