* Switch to nyc, babel-plugin-istanbul & codecov-node for code coverage This setup (very much like Babylon's) let us trace code coverage back to the `src/` directories of packages. * Exclude package tests from coverage report * fix: upgrade to version of nyc that tweaks a couple more things for babel * fix: remove comment based on @hzoo's review
6 lines
173 B
Bash
Executable File
6 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
node_modules/.bin/nyc node_modules/mocha/bin/_mocha --opts test/mocha.opts `scripts/_get-test-directories.sh`
|
|
node_modules/.bin/nyc report --reporter=json
|