Skip to content

Commit b4d5009

Browse files
committed
feat: update test task names
1 parent 4d5c20d commit b4d5009

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@
4646
"serve": "http-server",
4747
"serve:silent": "http-server --silent",
4848
"webdriver": "webdriver-manager",
49-
"e2e": "jest --runInBand --config ./test/jestConfig.json",
5049
"test": "npm-run-all \"webdriver -- update\" build:prod --parallel -r \"webdriver -- start --quiet\" test:ci",
51-
"test:ci": "run-p -r serve:silent e2e",
50+
"test:unit": "jest --config ./test/jestConfig.json test/unit",
51+
"test:e2e": "jest --runInBand --config ./test/jestConfig.json test/specs",
52+
"test:ci": "run-p -r serve:silent test:unit test:e2e",
5253
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
5354
},
5455
"husky": {

test/jestConfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"setupTestFrameworkScriptFile": "./setupTests.js",
3-
"testMatch": [
4-
"**/specs/**/*.js",
5-
"**/unit/**/*.js"
6-
],
3+
"testMatch": ["**/*.js"],
74
"globals": {
85
"__baseUrl__": "http://localhost:8080"
96
}

0 commit comments

Comments
 (0)