forked from botpress/botpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.e2e.config.js
More file actions
24 lines (24 loc) · 777 Bytes
/
jest.e2e.config.js
File metadata and controls
24 lines (24 loc) · 777 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
module.exports = {
preset: 'jest-puppeteer',
globals: {
'ts-jest': {
tsConfig: '<rootDir>/src/tsconfig.test.json',
isolatedModules: true
}
},
globalSetup: 'jest-environment-puppeteer/setup',
setupFilesAfterEnv: ['expect-puppeteer', './jest.setup.js'],
collectCoverage: false,
resetModules: true,
modulePaths: ['<rootDir>/src/bp/'],
moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx'],
transform: {
'^.+\\.(ts|tsx|js)$': 'ts-jest'
},
testMatch: ['**/src/e2e/**/*.test.(ts|js)'],
testPathIgnorePatterns: ['out', 'build', 'node_modules', 'src/bp'],
testEnvironment: '<rootDir>/src/e2e/customEnvironment.js',
rootDir: '.',
testResultsProcessor: './node_modules/jest-html-reporter',
testRunner: "jest-circus/runner",
}