-
Notifications
You must be signed in to change notification settings - Fork 0
/
stryker.conf.mjs
53 lines (53 loc) · 1.36 KB
/
stryker.conf.mjs
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// @ts-check
/** @type {import('@stryker-mutator/api/core').PartialStrykerOptions} */
const config = {
concurrency: 2,
_comment:
'This config was generated using \'stryker init\'. Please take a look at: https://stryker-mutator.io/docs/stryker-js/configuration/ for more information',
packageManager: 'yarn',
reporters: ['html', 'clear-text', 'progress'],
testRunner: 'command',
coverageAnalysis: 'off',
buildCommand: 'npm run test',
timeoutMS: 20000,
ignorePatterns: [
'node_modules',
'.git',
'/reports',
'*.tsbuildinfo',
'/stryker.log',
'.stryker-tmp',
'__snapshots__',
'android',
'src-tauri',
'screenshots',
'playwright',
'ios',
'src/capacitor',
'src/tauri',
'src/pages/MailListPage.tsx',
],
mutate: [
'src/**/*.ts',
'src/**/*.tsx',
'!src/**/*.d.ts',
'!src/components/icons/*.tsx',
'!src/**/components/AppBar.tsx',
'!src/theme/theme.ts',
'!src/**/*.test.ts',
'!src/**/*.test.tsx',
'!src/components/testUtil.tsx',
'!src/**/*.spec.ts',
'!src/**/*.spec.tsx',
'!src/icons.ts',
'!src/config/localStorageRepo.ts',
'!src/components/MailList.tsx',
'!src/components/RizeLogo.tsx',
'!src/test/*.ts',
'!src/test/*.tsx',
'!src/hooks/QueryWrapper.tsx',
],
'checkers': ['typescript'],
'tsconfigFile': 'tsconfig.json'
};
export default config;