🔧 Configures Jest

This commit is contained in:
Bruce Markham
2020-03-28 23:55:28 -04:00
parent ded3c1ea17
commit fa05a91192
3 changed files with 8 additions and 2 deletions

6
jest.config.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
transform: {'^.+\\.ts?$': 'ts-jest'},
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
};