Skip to content

Instantly share code, notes, and snippets.



Last active Jan 23, 2019
What would you like to do?
Using Istanbul wth Meteor
"env": {
"meteor:coverage": {
"plugins": ["istanbul"]
"babel-plugin-istanbul": "^4.1.4",
"nyc": "^11.2.1",
you'll need these if not others
export TZ=UTC
export BABEL_ENV=meteor:coverage
NODE=`meteor node -e "process.stdout.write(process.execPath)"`
METEORJS=`meteor node -e "process.stdout.write(require('path').resolve(process.execPath, '../../../tools/index.js'))"`
node_modules/.bin/nyc $NODE $METEORJS $* test --full-app --settings test.json \
--raw-logs --once --driver-package meteortesting:mocha --port 9500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment