fix(core): update
This commit is contained in:
parent
7601ca599a
commit
224400dcb5
@ -1,6 +1,10 @@
|
|||||||
import { TsTest } from './tstest.classes.tstest';
|
import { TsTest } from './tstest.classes.tstest';
|
||||||
|
|
||||||
export const runCli = async () => {
|
export const runCli = async () => {
|
||||||
|
if (!process.argv[2]) {
|
||||||
|
console.error('You must specify a test directory as argument. Please try again.');
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
const tsTestInstance = new TsTest(process.cwd(), process.argv[2]);
|
const tsTestInstance = new TsTest(process.cwd(), process.argv[2]);
|
||||||
await tsTestInstance.run();
|
await tsTestInstance.run();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user