fix(core): update

This commit is contained in:
2018-12-06 01:03:48 +01:00
parent 180bfcb353
commit 5d071d0299
6 changed files with 37 additions and 51 deletions

View File

@@ -37,12 +37,14 @@ export class TsTest {
const tapParser = new TapParser(fileName);
// tsrun options
let tsrunOptions = ''
if(process.argv.includes('--web')) {
tsrunOptions += ' --web'
let tsrunOptions = '';
if (process.argv.includes('--web')) {
tsrunOptions += ' --web';
}
const execResultStreaming = await smartshellInstance.execStreamingSilent(`tsrun ${fileName}${tsrunOptions}`);
const execResultStreaming = await smartshellInstance.execStreamingSilent(
`tsrun ${fileName}${tsrunOptions}`
);
await tapParser.handleTapProcess(execResultStreaming.childProcess);
console.log(cs(`^`.repeat(16), 'cyan'));
console.log(''); // force new line