mirror of
https://github.com/element-plus/element-plus.git
synced 2025-03-31 16:20:38 +08:00
build: adjust the order of file extensions by usage frequency in jest (#477)
This commit is contained in:
parent
4454c75d63
commit
19a2e5f416
@ -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>'],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user