chore: remove ununsed jest config

This commit is contained in:
陈嘉涵
2019-11-21 14:57:26 +08:00
parent 35581f1bfa
commit d1e55e82a3
4 changed files with 1 additions and 22 deletions
+14
View File
@@ -0,0 +1,14 @@
import { runCLI } from 'jest';
import { CWD, JEST_CONFIG_FILE } from '../common/constant';
export function test(command: any) {
process.env.NODE_ENV = 'test';
const config = {
rootDir: CWD,
watch: command.watch,
config: JEST_CONFIG_FILE
} as any;
runCLI(config, [CWD]);
}