Skip to content

Commit

Permalink
#480 added test coverage with istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
rsercano committed Mar 12, 2019
1 parent 4759f5b commit fb7b1a3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ node_modules
.idea
myDumps
manifest.yml
.coverage
16 changes: 13 additions & 3 deletions package.json
Expand Up @@ -49,8 +49,18 @@
},
"scripts": {
"build": "meteor build /tmp/nosqlclient",
"test": "cross-env TEST_WATCH=1 TEST_BROWSER_DRIVER=chrome meteor test --once --driver-package meteortesting:mocha",
"test-server": "cross-env TEST_WATCH=1 TEST_CLIENT=0 meteor test --once --driver-package meteortesting:mocha",
"test-client": "cross-env TEST_WATCH=1 TEST_BROWSER_DRIVER=chrome TEST_SERVER=0 meteor test --once --driver-package meteortesting:mocha"
"test": "cross-env TEST_BROWSER_DRIVER=chrome meteor test --once --driver-package meteortesting:mocha",
"test-server": "cross-env TEST_CLIENT=0 meteor test --once --driver-package meteortesting:mocha",
"test-client": "cross-env TEST_BROWSER_DRIVER=chrome TEST_SERVER=0 meteor test --once --driver-package meteortesting:mocha",
"coverage": "TEST_WATCH=1 BABEL_ENV=coverage TEST_BROWSER_DRIVER=chrome COVERAGE=1 COVERAGE_OUT_HTML=1 COVERAGE_APP_FOLDER=$PWD/ meteor test --once --driver-package meteortesting:mocha"
},
"babel": {
"env": {
"coverage": {
"plugins": [
"istanbul"
]
}
}
}
}

0 comments on commit fb7b1a3

Please sign in to comment.