comparison jest.config.js @ 32:db0e9cbf52e5

WIP converting to the package system that i found can work
author drewp@bigasterisk.com
date Tue, 24 Dec 2019 18:37:03 -0800
parents 94629c39681c
children
comparison
equal deleted inserted replaced
28:c751380b70c5 32:db0e9cbf52e5
1 module.exports = { 1 module.exports = {
2 transform: { 2 roots: ["<rootDir>/src"],
3 "^.+\\.tsx?$": "ts-jest" 3 preset: "ts-jest",
4 }, 4 testEnvironment: "node"
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 }; 5 };