Sfoglia il codice sorgente

Fix the coverage script

Steven Silvester 8 anni fa
parent
commit
f97fadaebc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -76,7 +76,7 @@
     "prepublish": "npm run build",
     "test": "npm run test:firefox",
     "test:chrome": "npm run build:test && cd test && python run-test.py --browsers=Chrome karma.conf.js",
-    "test:coverage": "webpack --config test/webpack-cov.conf.js && cd test && python run-test.py karma-cov.conf.js",
+    "test:coverage": "tsc --project test/src && webpack --config test/webpack-cov.conf.js && cd test && python run-test.py karma-cov.conf.js",
     "test:debug": "npm run build:test && cd test && python run-test.py  --browsers=Chrome --singleRun=false --debug=true karma.conf.js",
     "test:firefox": "npm run build:test && cd test && python run-test.py --browsers=Firefox karma.conf.js",
     "test:ie": "npm run build:test && cd test && python run-test.py  --browsers=IE karma.conf.js",