fix(core): update
This commit is contained in:
parent
61eea77805
commit
7ee3969798
1763
package-lock.json
generated
1763
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -30,7 +30,7 @@
|
|||||||
"@pushrocks/smartdelay": "^2.0.10",
|
"@pushrocks/smartdelay": "^2.0.10",
|
||||||
"@pushrocks/smartexpress": "^3.0.76",
|
"@pushrocks/smartexpress": "^3.0.76",
|
||||||
"@pushrocks/smartfile": "^8.0.0",
|
"@pushrocks/smartfile": "^8.0.0",
|
||||||
"@pushrocks/smartlog": "^2.0.36",
|
"@pushrocks/smartlog": "^2.0.39",
|
||||||
"@pushrocks/smartpromise": "^3.0.6",
|
"@pushrocks/smartpromise": "^3.0.6",
|
||||||
"@pushrocks/smartshell": "^2.0.25",
|
"@pushrocks/smartshell": "^2.0.25",
|
||||||
"@pushrocks/tapbundle": "^3.2.9",
|
"@pushrocks/tapbundle": "^3.2.9",
|
||||||
|
@ -37,16 +37,23 @@ export class TsTest {
|
|||||||
|
|
||||||
const tapCombinator = new TapCombinator(); // lets create the TapCombinator
|
const tapCombinator = new TapCombinator(); // lets create the TapCombinator
|
||||||
for (const fileNameArg of fileNamesToRun) {
|
for (const fileNameArg of fileNamesToRun) {
|
||||||
let tapParser: TapParser;
|
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case fileNameArg.endsWith('.browser.ts'):
|
case fileNameArg.endsWith('.browser.ts'):
|
||||||
tapParser = await this.runInChrome(fileNameArg);
|
const tapParserBrowser = await this.runInChrome(fileNameArg);
|
||||||
|
tapCombinator.addTapParser(tapParserBrowser);
|
||||||
|
break;
|
||||||
|
case fileNameArg.endsWith('.both.ts'):
|
||||||
|
const tapParserBothBrowser = await this.runInChrome(fileNameArg);
|
||||||
|
tapCombinator.addTapParser(tapParserBothBrowser);
|
||||||
|
const tapParserBothNode = await this.runInNode(fileNameArg);
|
||||||
|
tapCombinator.addTapParser(tapParserBothBrowser);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
tapParser = await this.runInNode(fileNameArg);
|
const tapParserNode = await this.runInNode(fileNameArg);
|
||||||
|
tapCombinator.addTapParser(tapParserNode);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
tapCombinator.addTapParser(tapParser);
|
|
||||||
console.log(cs(`^`.repeat(16), 'cyan'));
|
console.log(cs(`^`.repeat(16), 'cyan'));
|
||||||
console.log(''); // force new line
|
console.log(''); // force new line
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user