generated from cap-js-community/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathjest.config.js
More file actions
33 lines (29 loc) · 810 Bytes
/
jest.config.js
File metadata and controls
33 lines (29 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"use strict";
module.exports = {
testTimeout: 600000,
globalSetup: "./jest.globalSetup.js",
modulePathIgnorePatterns: [
"<rootDir>/gen",
"<rootDir>/test-integration/_env/gen",
"<rootDir>/test-integration/_env/node_modules",
],
watchPathIgnorePatterns: [
"<rootDir>/gen",
"<rootDir>/test-integration/_env/gen",
"<rootDir>/test-integration/_env/node_modules",
],
projects: [
{
displayName: "unit",
testMatch: ["<rootDir>/test/**/*.test.js"],
testEnvironment: "node",
setupFilesAfterEnv: ["<rootDir>/jest.setupAfterEnv.js"],
},
{
displayName: "integration",
testMatch: ["<rootDir>/test-integration/**/*.test.js"],
testEnvironment: "node",
setupFilesAfterEnv: ["<rootDir>/jest.setupAfterEnv.js"],
},
],
};