Skip to content

Commit

Permalink
Jest: Add import for warning '151001'
Browse files Browse the repository at this point in the history
  • Loading branch information
BastianBlokland committed Jan 23, 2019
1 parent 7c60da6 commit b6bcef4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
transform: { '^.+\\.ts?$': 'ts-jest' },
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
globals: {
'ts-jest': {
diagnostics: {
ignoreCodes: [151001]
}
}
}
};

0 comments on commit b6bcef4

Please sign in to comment.