Run rendering and spec tests in parallel

This commit is contained in:
Tim Schaub
2020-05-17 10:39:16 -06:00
parent 567d2be816
commit 2352a9f545
2 changed files with 97 additions and 6 deletions
+2 -1
View File
@@ -13,7 +13,8 @@
"lint": "eslint tasks test rendering src/ol examples config",
"pretest": "npm run lint && npm run typecheck",
"test-rendering": "node rendering/test.js",
"test": "npm run karma -- --single-run --log-level error && npm run test-rendering -- --force",
"test-spec": "npm run karma -- --single-run --log-level error",
"test": "npm run test-spec && npm run test-rendering -- --force",
"karma": "karma start test/karma.config.js",
"start": "npm run serve-examples",
"serve-examples": "webpack-dev-server --config examples/webpack/config.js --mode development --watch",