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