Skip to content

Commit fdfb3e9

Browse files
committed
Use jest version of cra
1 parent 2882edf commit fdfb3e9

File tree

3 files changed

+911
-974
lines changed

3 files changed

+911
-974
lines changed

jest.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
module.exports = {
22
testEnvironment: "node",
3-
testPathIgnorePatterns: ["<rootDir>/lib/", "<rootDir>/node_modules/"],
3+
testPathIgnorePatterns: [
4+
"<rootDir>/lib/",
5+
"<rootDir>/examples/cra/",
6+
"<rootDir>/examples/cra-ts/",
7+
"<rootDir>/node_modules/",
8+
],
49
collectCoverageFrom: ["src/**/*.ts"],
510
moduleNameMapper: {
611
"^apollo-typed-documents$": "<rootDir>/src",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"eslint-plugin-react": "^7.19.0",
5454
"graphql": "^14.6.0",
5555
"import-sort-style-module": "^6.0.0",
56-
"jest": "^25.3.0",
56+
"jest": "^24.7.1",
5757
"jest-transform-graphql": "^2.1.0",
5858
"markdown-magic": "^1.0.0",
5959
"pascal-case": "^3.1.1",
@@ -62,7 +62,7 @@
6262
"react": "^16.13.1",
6363
"rimraf": "^3.0.2",
6464
"tmp": "^0.1.0",
65-
"ts-jest": "^25.3.1",
65+
"ts-jest": "^24.3.0",
6666
"typescript": "^3.8.3"
6767
},
6868
"importSort": {

0 commit comments

Comments
 (0)