Skip to content

Commit 5326e52

Browse files
Copilotdgreif
andcommitted
Migrate from web-test-runner to vitest in browser mode
Co-authored-by: dgreif <3026298+dgreif@users.noreply.github.com>
1 parent 8b63555 commit 5326e52

83 files changed

Lines changed: 3281 additions & 2882 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package-lock.json

Lines changed: 3182 additions & 2858 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"prepack": "npm run build",
3232
"presize": "npm run build",
3333
"size": "size-limit",
34-
"test": "web-test-runner"
34+
"test": "vitest run"
3535
},
3636
"prettier": "@github/prettier-config",
3737
"devDependencies": {
@@ -41,14 +41,21 @@
4141
"@size-limit/preset-small-lib": "^8.0.1",
4242
"@typescript-eslint/eslint-plugin": "^5.36.1",
4343
"@typescript-eslint/parser": "^5.36.1",
44-
"@web/dev-server-esbuild": "^0.3.2",
45-
"@web/test-runner": "^0.14.0",
44+
"@vitest/browser": "^4.0.17",
45+
"@vitest/browser-playwright": "^4.0.17",
46+
"@vitest/expect": "^4.0.17",
47+
"@vitest/ui": "^4.0.17",
48+
"chai": "^6.2.2",
49+
"chai-dom": "^1.12.1",
4650
"eslint": "^8.23.0",
4751
"eslint-plugin-github": "^4.3.7",
52+
"playwright": "^1.57.0",
4853
"sinon": "^14.0.0",
54+
"sinon-chai": "^4.0.1",
4955
"size-limit": "^8.0.1",
5056
"tslib": "^2.4.0",
51-
"typescript": "^4.8.2"
57+
"typescript": "^4.8.2",
58+
"vitest": "^4.0.17"
5259
},
5360
"size-limit": [
5461
{
2.03 KB
2.03 KB
2.03 KB
2.03 KB
2.03 KB
2.03 KB
2.03 KB

0 commit comments

Comments
 (0)