Skip to content

Commit 019827d

Browse files
committed
testTimeout
1 parent 9ad93f2 commit 019827d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ module.exports = {
55
roots: ["src"],
66
testMatch: ["**/*.test.js"],
77
testPathIgnorePatterns: ["/node_modules/"],
8+
testTimeout: 120 * 1000,
89
};

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"scripts": {
2525
"test": "jest",
26-
"single": "jest src/single.test.js --timeout=120000",
27-
"parallel": "jest src/parallel.test.js --timeout=120000",
28-
"local": "jest src/local.test.js --timeout=120000"
26+
"single": "jest src/single.test.js",
27+
"parallel": "jest src/parallel.test.js",
28+
"local": "jest src/local.test.js"
2929
}
3030
}

0 commit comments

Comments
 (0)