mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-04 19:10:01 -05:00
fix(mocha): do not ignore JavaScript tests when TypeScript plugin is installed (#6560)
This commit is contained in:
@@ -73,7 +73,7 @@ module.exports = api => {
|
||||
? []
|
||||
: [
|
||||
api.hasPlugin('typescript')
|
||||
? `tests/unit/**/*.spec.ts`
|
||||
? `tests/unit/**/*.spec.[jt]s`
|
||||
: `tests/unit/**/*.spec.js`
|
||||
])
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user