added setup spec for global tests configuration

This commit is contained in:
sanex3339
2016-06-29 13:53:36 +03:00
parent 801373be55
commit 8c8291f3a9
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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