Skip to content

Commit 3ab6b9a

Browse files
committed
Replace karma by web test runner and update dependencies
1 parent 5d931b3 commit 3ab6b9a

File tree

2 files changed

+1848
-3286
lines changed

2 files changed

+1848
-3286
lines changed

package.json

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@
99
"scripts": {
1010
"build": "standard | snazzy && node tasks/build.js",
1111
"lint": "standard",
12-
"test-coverage": "karma start --browsers ChromeHeadless --single-run",
13-
"test": "karma start --coverage",
14-
"test:debug": "karma start --browsers ChromeDebugging --auto-watch=true --single-run=false",
15-
"test:watch": "karma start --auto-watch=true --single-run=false",
16-
"test:update-snapshots": "karma start --update-snapshots",
17-
"test:prune-snapshots": "karma start --prune-snapshots"
12+
"test": "web-test-runner \"tests/**/*Test.js\" --node-resolve",
13+
"test:coverage": "web-test-runner \"tests/**/*Test.js\" --node-resolve --coverage"
1814
},
1915
"repository": {
2016
"type": "git",
@@ -37,20 +33,16 @@
3733
"nested"
3834
],
3935
"devDependencies": {
40-
"@open-wc/testing": "^2.0.0",
41-
"@open-wc/testing-helpers": "^1.4.0",
42-
"@open-wc/testing-karma": "^3.2.21",
43-
"deepmerge": "^4.2.2",
44-
"del": "^5.1.0",
45-
"jquery": "^3.4.1",
46-
"karma": "^4.4.1",
47-
"lit-element": "^2.2.1",
48-
"mocha": "^6.2.2",
49-
"rollup": "^1.27.14",
36+
"@open-wc/testing": "^2.5.33",
37+
"@web/test-runner": "^0.13.13",
38+
"del": "^6.0.0",
39+
"jquery": "^3.6.0",
40+
"lit-element": "^2.5.1",
41+
"rollup": "^2.52.4",
5042
"rollup-plugin-cpy": "^2.0.1",
51-
"sinon": "^8.0.1",
52-
"snazzy": "^8.0.0",
53-
"standard": "^14.3.1"
43+
"sinon": "^11.1.1",
44+
"snazzy": "^9.0.0",
45+
"standard": "^16.0.3"
5446
},
5547
"standard": {
5648
"env": {
@@ -64,4 +56,4 @@
6456
"tests/location-bar/**"
6557
]
6658
}
67-
}
59+
}

0 commit comments

Comments
 (0)