-
Notifications
You must be signed in to change notification settings - Fork 1
/
jest.config.dev.js
37 lines (35 loc) · 957 Bytes
/
jest.config.dev.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
35
36
37
'use strict'
const base = require('./jest.config')
/** @type {import('@jest/types').Config.InitialOptions} */
const config = {
...base,
collectCoverage: false,
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tests/tsconfig.dev.json',
diagnostics: {
ignoreCodes: [
// Left side of comma operator is unused and has no side effects.
2695,
// '{0}' is declared but its value is never read.
6133,
// Property '{0}' is declared but its value is never read.
6138,
// All imports in import declaration are unused.
6192,
// '{0}' is declared but never used.
6196,
// All destructured elements are unused.
6198,
// All variables are unused.
6199,
// Unreachable code detected.
7027,
// Unused label
7028
]
}
}
}
}
module.exports = config