added a script to run tests on windows

created a sepearte script to avoid any potential problems that could occur if original scripts were changed
This commit is contained in:
Mostafa Samir 2016-04-01 19:45:11 +02:00
parent df0c6407c1
commit 3ee9c94818

View file

@ -24,6 +24,7 @@
"codacy-coverage": "^1.1.3" "codacy-coverage": "^1.1.3"
}, },
"scripts": { "scripts": {
"test-windows": "istanbul cover -x **/spec/** -dir ./spec/coverage ./node_modules/jasmine/bin/jasmine.js",
"test": "istanbul cover -x **/spec/** -dir ./spec/coverage jasmine", "test": "istanbul cover -x **/spec/** -dir ./spec/coverage jasmine",
"cover": "istanbul cover -x **/spec/** -dir ./spec/coverage jasmine", "cover": "istanbul cover -x **/spec/** -dir ./spec/coverage jasmine",
"coverup": "cat ./spec/coverage/lcov.info | codacy-coverage" "coverup": "cat ./spec/coverage/lcov.info | codacy-coverage"