forked from comunica/comunica-feature-link-traversal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.ts
More file actions
39 lines (37 loc) · 880 Bytes
/
jest.config.ts
File metadata and controls
39 lines (37 loc) · 880 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
34
35
36
37
38
39
import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
collectCoverage: true,
coveragePathIgnorePatterns: [
'/test/',
'/node_modules/',
'engine-default.js',
'index.js',
],
coverageProvider: 'babel',
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
moduleFileExtensions: [
'ts',
'js',
],
testEnvironment: 'node',
testMatch: [
'<rootDir>/engines/*/test/**/*-test.ts',
'<rootDir>/packages/*/test/**/*-test.ts',
],
transform: {
'\\.ts$': [ 'ts-jest', {
// Enabling this can fix issues when using prereleases of typings packages
// isolatedModules: true
}],
},
// The system tests from engines require a timeout longer than the default 5 seconds
testTimeout: 20_000,
};
export default config;