From 8c8291f3a96de9060dc6267bd3e521d0d51157a2 Mon Sep 17 00:00:00 2001 From: sanex3339 Date: Wed, 29 Jun 2016 13:53:36 +0300 Subject: [PATCH] added setup spec for global tests configuration --- scripts/test-coveralls | 2 +- scripts/test-full | 2 +- scripts/test-mocha | 2 +- test/config/{setup.spec.ts => config.spec.ts} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename test/config/{setup.spec.ts => config.spec.ts} (100%) 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