diff --git a/scripts/test-coveralls b/scripts/test-coveralls index 9cdcfda9..da0724cd 100755 --- a/scripts/test-coveralls +++ b/scripts/test-coveralls @@ -2,6 +2,6 @@ yarn run test:removeTmpDir && yarn run test:compile && -$(yarn bin)/nyc --reporter lcovonly $(yarn bin)/mocha -- test-tmp/test/index.spec.js && -cat ./coverage/lcov.info | $(yarn bin)/coveralls && +$(yarn bin)/nyc $(yarn bin)/mocha -- test-tmp/test/index.spec.js --exit && +$(yarn bin)/nyc report --reporter=text-lcov | $(yarn bin)/coveralls && yarn run test:removeTmpDir \ No newline at end of file diff --git a/scripts/test-full b/scripts/test-full index c032b48d..7147320d 100755 --- a/scripts/test-full +++ b/scripts/test-full @@ -3,5 +3,5 @@ yarn run test:removeTmpDir && yarn run test:compile && node test-tmp/test/dev/dev.js && -$(yarn bin)/nyc --reporter text-summary $(yarn bin)/mocha -- test-tmp/test/index.spec.js && +$(yarn bin)/nyc --reporter text-summary $(yarn bin)/mocha -- test-tmp/test/index.spec.js --exit && yarn run test:removeTmpDir \ No newline at end of file diff --git a/test/functional-tests/javascript-obfuscator/JavaScriptObfuscator.spec.ts b/test/functional-tests/javascript-obfuscator/JavaScriptObfuscator.spec.ts index 1b560cff..6c3fb56a 100644 --- a/test/functional-tests/javascript-obfuscator/JavaScriptObfuscator.spec.ts +++ b/test/functional-tests/javascript-obfuscator/JavaScriptObfuscator.spec.ts @@ -667,7 +667,9 @@ describe('JavaScriptObfuscator', () => { }); }); - describe('Identifier names collision between base code and appended string array nodes', () => { + describe('Identifier names collision between base code and appended string array nodes', function () { + this.timeout(10000); + const samplesCount: number = 30; let areCollisionsExists: boolean = false;