forked from prisma/prisma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.js
34 lines (34 loc) · 1.28 KB
/
jest.config.js
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
34
module.exports = {
preset: '../../helpers/test/presets/withSnapshotSerializer.js',
modulePathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/fixtures/',
'<rootDir>/generator-build/',
'<rootDir>/runtime/',
'<rootDir>/runtime-dist/',
'<rootDir>/scripts/',
'<rootDir>/tests/memory',
'<rootDir>/tests/functional',
'<rootDir>/tests/e2e',
'<rootDir>/src/__tests__/benchmarks/',
'<rootDir>/src/__tests__/types/.*/test.ts',
'<rootDir>/src/__tests__/types/.*/test.binary.ts',
'<rootDir>/src/__tests__/types/.*/test.library.ts',
'<rootDir>/src/__tests__/integration/happy/not-so-exhaustive-schema/common.ts',
'<rootDir>/src/__tests__/integration/happy/not-so-exhaustive-schema/generated-dmmf.ts',
'<rootDir>/src/__tests__/generation/__fixture__',
'<rootDir>/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/common.ts',
'<rootDir>/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/generated-dmmf.ts',
'__helpers__/',
'node_modules/',
'index.ts',
'index.d.ts',
'index.js',
'index.test-d.ts',
'.bench.ts',
],
collectCoverageFrom: ['src/**/*.ts', '!**/__tests__/**/*', '!src/**/*.test.ts'],
testTimeout: 90_000,
setupFiles: ['./helpers/jestSetup.js'],
openHandlesTimeout: 10_000,
}