Skip to content

Commit

Permalink
[jest] make sure .d.ts are matched by jest (#123)
Browse files Browse the repository at this point in the history
Otherwise it seems like the `--watch` option doesn't handle them
correctly.
  • Loading branch information
adimascio authored May 6, 2019
1 parent f7233a9 commit 1347b46
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,5 +1,5 @@
module.exports = {
moduleFileExtensions: ['js', 'jsx', 'json', 'vue', 'ts', 'tsx'],
moduleFileExtensions: ['js', 'jsx', 'json', 'vue', 'd.ts', 'ts', 'tsx'],

collectCoverage: true,
collectCoverageFrom: ['**/*.{ts,vue}', '!**/node_modules/**'],
Expand Down

0 comments on commit 1347b46

Please sign in to comment.