Skip to content

Commit c4b0319

Browse files
authored
chore: bump vitest and add vitest ui (#780)
1 parent 88ad4f1 commit c4b0319

File tree

4 files changed

+159
-90
lines changed

4 files changed

+159
-90
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ lib-cov
1010

1111
# Coverage directory used by tools like istanbul
1212
coverage
13+
.vitest-ui
1314

1415
# Dependency directories
1516
node_modules/

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"test": "run-s test:*",
1818
"test:lint": "rimraf .eslintcache && eslint packages tests",
1919
"test:unit": "vitest --coverage --run",
20+
"test:unit:ui": "vitest --coverage --ui",
2021
"test:unit:watch": "vitest --coverage --watch",
2122
"test.local.init": "rimraf localBaseline && wdio ./tests/configs/wdio.local.init.conf.ts",
2223
"test.local.desktop": "wdio tests/configs/wdio.local.desktop.conf.ts",
@@ -50,22 +51,23 @@
5051
"watch": "pnpm run -r --parallel watch"
5152
},
5253
"dependencies": {
53-
"@wdio/visual-service": "workspace:^",
5454
"@wdio/ocr-service": "workspace:^",
55+
"@wdio/visual-service": "workspace:^",
5556
"webdriver-image-comparison": "workspace:^"
5657
},
5758
"devDependencies": {
5859
"@changesets/cli": "^2.27.12",
5960
"@tsconfig/node20": "^20.1.4",
6061
"@types/eslint": "^9.6.1",
61-
"@types/jsdom": "~21.1.7",
6262
"@types/inquirer": "^9.0.7",
63+
"@types/jsdom": "~21.1.7",
6364
"@types/node": "^22",
6465
"@types/xml2js": "~0.4.14",
6566
"@typescript-eslint/eslint-plugin": "^8.24.0",
6667
"@typescript-eslint/parser": "^8.24.0",
6768
"@typescript-eslint/utils": "^8.24.0",
68-
"@vitest/coverage-v8": "^2.1.9",
69+
"@vitest/coverage-v8": "^3.0.8",
70+
"@vitest/ui": "^3.0.8",
6971
"@wdio/appium-service": "^9.9.1",
7072
"@wdio/cli": "^9.9.1",
7173
"@wdio/globals": "^9.9.1",
@@ -88,8 +90,8 @@
8890
"saucelabs": "^8.0.0",
8991
"ts-node": "^10.9.2",
9092
"typescript": "^5.7.3",
91-
"vitest": "^2.1.9",
92-
"webdriverio": "^9.9.1",
93-
"wdio-lambdatest-service": "^4.0.0"
93+
"vitest": "^3.0.8",
94+
"wdio-lambdatest-service": "^4.0.0",
95+
"webdriverio": "^9.9.1"
9496
}
95-
}
97+
}

0 commit comments

Comments
 (0)