forked from pmndrs/react-three-fiber
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
26 lines (26 loc) · 702 Bytes
/
jest.config.js
File metadata and controls
26 lines (26 loc) · 702 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
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
testPathIgnorePatterns: ['/node_modules/'],
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/packages/fiber/dist',
'<rootDir>/packages/fiber/src/index',
'<rootDir>/packages/test-renderer/dist',
'<rootDir>/test-utils',
],
// coverageThreshold: {
// global: {
// statements: 80,
// branches: 68,
// functions: 80,
// lines: 80,
// },
// },
coverageDirectory: './coverage/',
collectCoverage: true,
moduleFileExtensions: ['js', 'ts', 'tsx'],
verbose: false,
testTimeout: 30000,
setupFilesAfterEnv: ['<rootDir>/packages/shared/setupTests.ts'],
}