File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,24 @@ cleanup() {
16
16
17
17
# Build library before the testing
18
18
if [ -z " $@ " ]; then
19
- testDir=" ./test/spec /**/*.js"
19
+ testDir=" ./helpers /**/*.js"
20
20
else
21
21
testDir=" $@ "
22
22
fi
23
23
24
- if [ " $COVERAGE " = true ]; then
24
+ if [ " $COVERAGE " = true ]; then
25
25
echo " Running tests with coverage"
26
- npx nyc --reporter lcov mocha -r ./node_modules/dotenv/config --exit -R spec --timeout 70000 --recursive ./test/spec
26
+ npx nyc --reporter lcov mocha -r ./node_modules/dotenv/config --exit -R spec --timeout 70000 --recursive ./helpers/ ** / * .js
27
27
28
28
if [ " $CONTINUOUS_INTEGRATION " = true ]; then
29
29
cat coverage/lcov.info | npx coveralls
30
30
fi
31
31
32
- else
32
+ else
33
33
echo " Running tests without coverage"
34
34
35
35
if [ -z " $@ " ]; then
36
- testDir=" ./test/spec /**/*.js"
36
+ testDir=" ./helpers /**/*.js"
37
37
else
38
38
testDir=" $@ "
39
39
fi
You can’t perform that action at this time.
0 commit comments