fix(core): update
This commit is contained in:
parent
0be6b3400a
commit
28e0c32944
2383
package-lock.json
generated
2383
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -19,19 +19,19 @@
|
|||||||
"build": "(tsbuild --web --allowimplicitany)"
|
"build": "(tsbuild --web --allowimplicitany)"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.61",
|
"@gitzone/tsbuild": "^2.1.63",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.18.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gitzone/tsbundle": "^2.0.2",
|
"@gitzone/tsbundle": "^2.0.5",
|
||||||
"@gitzone/tsrun": "^1.2.32",
|
"@gitzone/tsrun": "^1.2.37",
|
||||||
"@pushrocks/consolecolor": "^2.0.1",
|
"@pushrocks/consolecolor": "^2.0.1",
|
||||||
"@pushrocks/smartbrowser": "^2.0.2",
|
"@pushrocks/smartbrowser": "^2.0.2",
|
||||||
"@pushrocks/smartdelay": "^2.0.13",
|
"@pushrocks/smartdelay": "^2.0.13",
|
||||||
"@pushrocks/smartexpress": "^4.0.4",
|
"@pushrocks/smartexpress": "^4.0.5",
|
||||||
"@pushrocks/smartfile": "^9.0.6",
|
"@pushrocks/smartfile": "^10.0.2",
|
||||||
"@pushrocks/smartlog": "^2.0.44",
|
"@pushrocks/smartlog": "^3.0.0",
|
||||||
"@pushrocks/smartpromise": "^3.1.7",
|
"@pushrocks/smartpromise": "^3.1.7",
|
||||||
"@pushrocks/smartshell": "^2.0.30",
|
"@pushrocks/smartshell": "^2.0.30",
|
||||||
"@pushrocks/tapbundle": "^5.0.3",
|
"@pushrocks/tapbundle": "^5.0.3",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@gitzone/tstest',
|
name: '@gitzone/tstest',
|
||||||
version: '1.0.71',
|
version: '1.0.72',
|
||||||
description: 'a test utility to run tests that match test/**/*.ts'
|
description: 'a test utility to run tests that match test/**/*.ts'
|
||||||
}
|
}
|
||||||
|
@ -41,15 +41,15 @@ export class TsTest {
|
|||||||
case process.env.CI && fileNameArg.includes('.nonci.'):
|
case process.env.CI && fileNameArg.includes('.nonci.'):
|
||||||
console.log('!!!!!!!!!!!');
|
console.log('!!!!!!!!!!!');
|
||||||
console.log(
|
console.log(
|
||||||
`not running testfile ${fileNameArg}, sinc we are CI and file name includes '.nonci.' tag`
|
`not running testfile ${fileNameArg}, since we are CI and file name includes '.nonci.' tag`
|
||||||
);
|
);
|
||||||
console.log('!!!!!!!!!!!');
|
console.log('!!!!!!!!!!!');
|
||||||
break;
|
break;
|
||||||
case fileNameArg.endsWith('.browser.ts'):
|
case (fileNameArg.endsWith('.browser.ts') || fileNameArg.endsWith('.browser.nonci.ts' )):
|
||||||
const tapParserBrowser = await this.runInChrome(fileNameArg);
|
const tapParserBrowser = await this.runInChrome(fileNameArg);
|
||||||
tapCombinator.addTapParser(tapParserBrowser);
|
tapCombinator.addTapParser(tapParserBrowser);
|
||||||
break;
|
break;
|
||||||
case fileNameArg.endsWith('.both.ts'):
|
case (fileNameArg.endsWith('.both.ts') || fileNameArg.endsWith('.both.nonci.ts')):
|
||||||
console.log('>>>>>>> TEST PART 1: chrome');
|
console.log('>>>>>>> TEST PART 1: chrome');
|
||||||
const tapParserBothBrowser = await this.runInChrome(fileNameArg);
|
const tapParserBothBrowser = await this.runInChrome(fileNameArg);
|
||||||
tapCombinator.addTapParser(tapParserBothBrowser);
|
tapCombinator.addTapParser(tapParserBothBrowser);
|
||||||
@ -136,7 +136,7 @@ export class TsTest {
|
|||||||
async () => {
|
async () => {
|
||||||
const convertToText = (obj: any): string => {
|
const convertToText = (obj: any): string => {
|
||||||
// create an array that will later be joined into a string.
|
// create an array that will later be joined into a string.
|
||||||
const stringArray = [];
|
const stringArray: string[] = [];
|
||||||
|
|
||||||
if (typeof obj === 'object' && typeof obj.toString === 'function') {
|
if (typeof obj === 'object' && typeof obj.toString === 'function') {
|
||||||
stringArray.push(obj.toString());
|
stringArray.push(obj.toString());
|
||||||
|
Loading…
Reference in New Issue
Block a user