fix jest config warning

This commit is contained in:
Vincent JOUANNE 2023-04-21 14:24:42 +02:00
parent 9df7ac21c0
commit 3332af2323
1 changed files with 7 additions and 2 deletions

View File

@ -3,8 +3,13 @@ module.exports = {
testEnvironment: 'node',
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
globals: {
'ts-jest': {
diagnostics: { warnOnly: true },
transform: {
'*': [
'ts-jest',
{
diagnostics: { warnOnly: true },
},
],
},
},
};