-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathjest.e2e.config.mjs
More file actions
29 lines (29 loc) · 645 Bytes
/
Copy pathjest.e2e.config.mjs
File metadata and controls
29 lines (29 loc) · 645 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
export default {
testEnvironment: 'node',
testMatch: [
'<rootDir>/tests/e2e/**/*.test.js',
'<rootDir>/tests/visual/**/*.test.js'
],
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy'
},
testPathIgnorePatterns: [
'/node_modules/',
'/dist/'
],
transform: {
'^.+\\.js$': 'babel-jest'
},
transformIgnorePatterns: [
'/node_modules/(?!(jquery|puppeteer)/)'
],
testTimeout: 30000,
forceExit: true,
detectOpenHandles: true,
// ESM support
globals: {
'ts-jest': {
useESM: true
}
}
};