Skip to content

Commit

Permalink
Add TS files to Jest transform setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 13, 2021
1 parent 40741ec commit ad9e9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
transform: {
'\\.css$': '<rootDir>/test/styleTransform.js',
'^.+\\.js?$': 'babel-jest'
'^.+\\.(tsx|ts|js)?$': 'babel-jest'
},
watchPlugins: [
'jest-watch-typeahead/filename',
Expand Down

0 comments on commit ad9e9b3

Please sign in to comment.