mirror of
https://github.com/desktop/desktop
synced 2024-09-19 08:02:22 +00:00
add tsx files to jest
This commit is contained in:
parent
b7895b606c
commit
4ccfe38ad1
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue