Added coverage test on ci

This commit is contained in:
CJ Patoilo 2016-11-22 20:47:31 -03:00
parent 3180bc50c1
commit 971a4274a2

View File

@ -79,7 +79,7 @@
"watch": "onchange src -- npm run build", "watch": "onchange src -- npm run build",
"serve": "browser-sync start --no-notify -s test --ss dist -f dist", "serve": "browser-sync start --no-notify -s test --ss dist -f dist",
"start": "run-p watch serve", "start": "run-p watch serve",
"test": "run-s build", "test": "run-s build coverage",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require intelli-espower-loader test/unit/*.js", "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require intelli-espower-loader test/unit/*.js",
"reference": "backstop reference --configPath=backstop.conf.js", "reference": "backstop reference --configPath=backstop.conf.js",
"compare": "backstop test --configPath=backstop.conf.js", "compare": "backstop test --configPath=backstop.conf.js",