fix jest config warning

This commit is contained in:
Vincent JOUANNE 2023-04-21 14:24:42 +02:00
parent 9df7ac21c0
commit 3332af2323

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 },
},
],
},
},
};