diff --git a/scripts/test-coveralls b/scripts/test-coveralls index 5df8e26f..8cd79f9d 100755 --- a/scripts/test-coveralls +++ b/scripts/test-coveralls @@ -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 \ No newline at end of file diff --git a/scripts/test-full b/scripts/test-full index 0118a475..d6bc420d 100755 --- a/scripts/test-full +++ b/scripts/test-full @@ -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 \ No newline at end of file diff --git a/scripts/test-mocha b/scripts/test-mocha index d121c548..4955e2be 100755 --- a/scripts/test-mocha +++ b/scripts/test-mocha @@ -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 \ No newline at end of file diff --git a/test/config/setup.spec.ts b/test/config/config.spec.ts similarity index 100% rename from test/config/setup.spec.ts rename to test/config/config.spec.ts