mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
added setup spec for global tests configuration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:compile
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/**/**.spec.js --report lcovonly
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- $(find test-tmp/test -name '*.spec.js') --report lcovonly
|
||||
cat ./coverage/lcov.info | $(npm bin)/coveralls
|
||||
npm run test:removeTmpDir
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
|
||||
npm run test:compile
|
||||
node test-tmp/test/dev/test.js
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/**/**.spec.js
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- $(find test-tmp/test -name '*.spec.js')
|
||||
npm run test:removeTmpDir
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:compile
|
||||
$(npm bin)/mocha test-tmp/test/**/**.spec.js
|
||||
$(npm bin)/mocha $(find test-tmp/test -name '*.spec.js')
|
||||
npm run test:removeTmpDir
|
||||
Reference in New Issue
Block a user