fix jest config warning
This commit is contained in:
parent
9df7ac21c0
commit
3332af2323
1 changed files with 7 additions and 2 deletions
|
@ -3,8 +3,13 @@ module.exports = {
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
|
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
|
||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
transform: {
|
||||||
diagnostics: { warnOnly: true },
|
'*': [
|
||||||
|
'ts-jest',
|
||||||
|
{
|
||||||
|
diagnostics: { warnOnly: true },
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue