Skip to content

Commit

Permalink
build: adjust the order of file extensions by usage frequency in jest (
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonaliaChen authored Oct 27, 2020
1 parent 4454c75 commit 19a2e5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ module.exports = {
},
],
},
moduleFileExtensions: ['vue', 'json', 'ts', 'tsx', 'js', 'json'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json', 'vue'],
// u can change this option to a more specific folder for test single component or util when dev
// for example, ['<rootDir>/packages/input']
roots: ['<rootDir>'],
}

0 comments on commit 19a2e5f

Please sign in to comment.