feat(cli): add test clearCache option
This commit is contained in:
@@ -13,7 +13,8 @@ export function test(command: any) {
|
||||
const config = {
|
||||
rootDir: ROOT,
|
||||
watch: command.watch,
|
||||
config: JEST_CONFIG_FILE
|
||||
config: JEST_CONFIG_FILE,
|
||||
clearCache: command.clearCache
|
||||
} as any;
|
||||
|
||||
runCLI(config, [ROOT]);
|
||||
|
||||
@@ -31,6 +31,7 @@ command('commit-lint').action(commitLint);
|
||||
|
||||
command('test')
|
||||
.option('--watch')
|
||||
.option('--clearCache')
|
||||
.action(test);
|
||||
|
||||
parse(process.argv);
|
||||
|
||||
Reference in New Issue
Block a user