Compare commits

..

4 Commits

Author SHA1 Message Date
1d251689bb 1.0.48 2020-09-29 16:15:52 +00:00
8f1492dfbd fix(core): update 2020-09-29 16:15:51 +00:00
003dc473ea 1.0.47 2020-09-29 15:58:28 +00:00
e6baed5470 fix(core): update 2020-09-29 15:58:26 +00:00
3 changed files with 5 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tstest",
"version": "1.0.46",
"version": "1.0.48",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tstest",
"version": "1.0.46",
"version": "1.0.48",
"private": false,
"description": "a test utility to run tests that match test/**/*.ts",
"main": "dist_ts/index.js",

View File

@ -50,7 +50,7 @@ export class TsTest {
console.log(''); // force new line
console.log('>>>>>>> TEST PART 2: node');
const tapParserBothNode = await this.runInNode(fileNameArg);
tapCombinator.addTapParser(tapParserBothBrowser);
tapCombinator.addTapParser(tapParserBothNode);
break;
default:
const tapParserNode = await this.runInNode(fileNameArg);
@ -67,7 +67,7 @@ export class TsTest {
public async runInNode(fileNameArg: string): Promise<TapParser> {
console.log(`${cs('=> ', 'blue')} Running ${cs(fileNameArg, 'orange')} in node.js runtime.`);
console.log(`${cs(`= `.repeat(32), 'cyan')}`);
const tapParser = new TapParser(fileNameArg);
const tapParser = new TapParser(fileNameArg + ':node');
// tsrun options
let tsrunOptions = '';
@ -206,7 +206,7 @@ export class TsTest {
);
console.log(`${cs('=> ', 'blue')} See the result captured from the chromium execution:`);
// lets create the tap parser
const tapParser = new TapParser(fileNameArg);
const tapParser = new TapParser(fileNameArg + ':chrome');
tapParser.handleTapLog(evaluation);
return tapParser;
}