|
@@ -51,6 +51,7 @@
|
|
|
"karma-chrome-launcher": "^3.2.0",
|
|
|
"karma-coverage": "^2.2.0",
|
|
|
"karma-jasmine": "^5.1.0",
|
|
|
+ "karma-jsdom-launcher": "^14.0.0",
|
|
|
"karma-sauce-launcher": "^4.3.6",
|
|
|
"lodash": "^4.17.15",
|
|
|
"mini-css-extract-plugin": "^2.7.6",
|
|
@@ -94,18 +95,16 @@
|
|
|
"start": "USE_LOCAL_FILE=true run-p start:*",
|
|
|
"start:webpack": "webpack-dev-server --config _develop/webpack.config.js",
|
|
|
"start:website": "run-s website:build website:serve",
|
|
|
- "start:karma": "karma start _develop/karma.config.js --no-single-run --no-browsers",
|
|
|
+ "start:karma": "karma start _develop/karma.unit.config.js --no-single-run --no-browsers",
|
|
|
"start:proxy": "node _develop/proxy.js",
|
|
|
"website:build": "npm run build -w website",
|
|
|
"website:serve": "npm run serve -w website -- --port $npm_package_config_ports_gatsby",
|
|
|
"website:develop": "npm run develop -w website -- --port $npm_package_config_ports_gatsby",
|
|
|
- "test": "npm run test:unit; npm run test:random",
|
|
|
- "test:all": "npm run test:unit; npm run test:functional; npm run test:random",
|
|
|
+ "test": "npm run test:unit; npm run test:fuzz; npm run test:e2e",
|
|
|
+ "test:unit": "npm run build; karma start _develop/karma.unit.config.js",
|
|
|
+ "test:fuzz": "npm run build; karma start _develop/karma.fuzz.config.js",
|
|
|
"test:e2e": "npx playwright test",
|
|
|
- "test:unit": "npm run build; karma start _develop/karma.config.js",
|
|
|
- "test:unit:ci": "npm run build; karma start _develop/karma.config.js --reporters dots,saucelabs",
|
|
|
- "test:random": "ts-node --preferTsExts -O '{\"module\":\"commonjs\"}' ./node_modules/.bin/jasmine test/random.ts",
|
|
|
- "test:coverage": "webpack --env.coverage --config _develop/webpack.config.js; karma start _develop/karma.config.js --reporters coverage"
|
|
|
+ "test:coverage": "webpack --env.coverage --config _develop/webpack.config.js; karma start _develop/karma.unit.config.js --reporters coverage"
|
|
|
},
|
|
|
"overrides": {
|
|
|
"saucelabs": "^7.2.2",
|