2021-11-20 15:30:02 +01:00
|
|
|
module.exports = {
|
2020-09-25 23:42:15 +02:00
|
|
|
globals: {
|
|
|
|
'ts-jest': {
|
|
|
|
tsconfig: 'tsconfig.test.json',
|
|
|
|
}
|
|
|
|
},
|
2020-04-23 11:40:55 +02:00
|
|
|
transform: {
|
|
|
|
"^.+\\.ts$": "ts-jest"
|
|
|
|
},
|
|
|
|
moduleFileExtensions: [
|
|
|
|
'js',
|
|
|
|
'ts',
|
|
|
|
'd.ts'
|
|
|
|
],
|
|
|
|
testMatch: [
|
|
|
|
'**/test/**/*.test.ts'
|
|
|
|
],
|
2020-09-25 23:42:15 +02:00
|
|
|
testEnvironment: 'node',
|
2021-05-12 14:32:01 +02:00
|
|
|
resolver: "jest-ts-webcompat-resolver",
|
2021-04-22 18:01:35 +02:00
|
|
|
};
|