Mercurial > code > home > repos > streamed-graph
diff 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 |
line wrap: on
line diff
--- a/jest.config.js Sun Dec 15 12:38:11 2019 -0800 +++ b/jest.config.js Tue Dec 24 18:37:03 2019 -0800 @@ -1,14 +1,5 @@ module.exports = { - transform: { - "^.+\\.tsx?$": "ts-jest" - }, - testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - testPathIgnorePatterns: ["/lib/", "/node_modules/"], - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], - collectCoverage: true, - globals: { - 'ts-jest': { - packageJson: 'package.json', - } - } -}; \ No newline at end of file + roots: ["<rootDir>/src"], + preset: "ts-jest", + testEnvironment: "node" +};