add tsx files to jest

This commit is contained in:
evelyn masso 2018-09-21 09:34:33 -07:00
parent b7895b606c
commit 4ccfe38ad1

View file

@ -3,7 +3,7 @@ module.exports = {
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
testMatch: ['**/unit/**/*-test.ts'],
testMatch: ['**/unit/**/*-test.ts{,x}'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
setupFiles: [
'<rootDir>/app/test/globals.ts',