feat(vant-cli): support jest options (#9039)

This commit is contained in:
Jake
2021-07-15 17:07:22 +08:00
committed by GitHub
parent da9b09b471
commit 0b04522105
2 changed files with 17 additions and 0 deletions
+4
View File
@@ -15,6 +15,10 @@ export function test(command: any) {
watch: command.watch,
config: JEST_CONFIG_FILE,
clearCache: command.clearCache,
changedSince: command.changedSince,
logHeapUsage: command.logHeapUsage,
runInBand: command.runInBand,
debug: command.debug,
// make jest tests faster
// see: https://ivantanev.com/make-jest-faster/
maxWorkers: '50%',