Skip to content

Commit 9b7494b

Browse files
authored
Merge pull request #2 from Nirajkashyap/develop
coveralls change
2 parents 6b25024 + 52635d2 commit 9b7494b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install:
2424
- npm install
2525

2626
after_install:
27-
- echo "echoing in after_install steps"
27+
- 'echo "echoing in after_install steps" '
2828

2929

3030
before_script:
@@ -37,7 +37,7 @@ script:
3737
- npm run test
3838

3939
after_success:
40-
- echo 'please write auto merge script here'
40+
- 'echo "please write auto merge script here" '
4141

4242
env:
4343
global:
@@ -49,7 +49,7 @@ after_failure:
4949
- echo "echoing in after_failure steps"
5050

5151
after_script:
52-
- echo "echoing in after_script steps and will public coverage to coveralls"
52+
- 'echo "echoing in after_script steps and will public coverage to coveralls" '
5353
- 'cat ./coverage/lcov.info | coveralls'
5454

5555

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
},
3434
"jest": {
3535
"testEnvironment": "node",
36-
"rootDir":"__tests__"
36+
"rootDir":"__tests__",
37+
38+
"coverageDirectory": "../coverage",
39+
"collectCoverage": true
40+
3741
},
3842
"scripts": {
3943
"prepublish": "nsp check",

0 commit comments

Comments
 (0)