generic-interceptor
Version:
Provide proxy handler for getting properties and executing functions
8 lines (6 loc) • 324 B
text/typescript
import { execSync } from "child_process";
import { TestCaseDescribe, TestPrefix } from "./enum";
Object.values(TestCaseDescribe).forEach((testCase) => {
const command = `jest --config jestconfig.json --coverage --testNamePattern='${testCase}|<${TestPrefix.commonPrefix}>'`;
execSync(command, { stdio: "inherit" });
});