fix(test result): now failing and succeeding correctly

This commit is contained in:
2018-08-05 22:58:52 +02:00
parent 7a20c0a27f
commit a0ed5c7a16
4 changed files with 115 additions and 14 deletions

View File

@@ -30,7 +30,7 @@ export class TsTest {
for (const fileName of fileNamesToRun) {
console.log(`${cs('=> ', 'blue')} Running ${cs(fileName, 'orange')}`);
console.log(cs(`=`.repeat(16), 'cyan'));
const tapParser = new TapParser();
const tapParser = new TapParser(fileName);
const execResultStreaming = await smartshellInstance.execStreamingSilent(`tsrun ${fileName}`);
await tapParser.handleTapProcess(execResultStreaming.childProcess);
console.log(cs(`^`.repeat(16), 'cyan'));