babel/scripts/test-cov.sh
Sebastian McKenzie c76536be90 fix test coverage
2015-07-16 15:46:31 +01:00

6 lines
211 B
Bash
Executable File

#!/bin/sh
set -e
node node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- `scripts/_get-test-directories.sh` --opts mocha.opts
test -n "`which open`" && open coverage/lcov-report/index.html