mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
refactor(config): Replacing jest.config.js with jest.config.json
This commit is contained in:
parent
cdbcf1f42a
commit
cde6fe79c8
@ -1,21 +0,0 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
|
||||
testEnvironment: 'node',
|
||||
testRegex: 'test/tests/.*\\.ts$',
|
||||
testMatch: null,
|
||||
testURL: 'http://localhost/',
|
||||
|
||||
coverageDirectory: './coverage/',
|
||||
collectCoverage: true,
|
||||
|
||||
setupTestFrameworkScriptFile: 'jest-extended',
|
||||
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
diagnostics: {
|
||||
ignoreCodes: [2322, 2445, 7006, 7031, 2339, 7016, 7023, 7017, 2345, 6133],
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
21
jest.config.json
Normal file
21
jest.config.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"preset": "ts-jest",
|
||||
|
||||
"testEnvironment": "node",
|
||||
"testRegex": "test\\/.*\\.ts$",
|
||||
"testMatch": null,
|
||||
"testURL": "http://localhost/",
|
||||
|
||||
"coverageDirectory": "./coverage/",
|
||||
"collectCoverage": true,
|
||||
|
||||
"setupFilesAfterEnv": ["jest-extended"],
|
||||
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"diagnostics": {
|
||||
"ignoreCodes": [2322, 2445, 7006, 7031, 2339, 7016, 7023, 7017, 2345, 6133]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user