Skip to content

Commit be28e0d

Browse files
committed
test: move the vitest browser test to playwright tests
1 parent a67bc47 commit be28e0d

9 files changed

Lines changed: 78 additions & 549 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
- name: Run Unit Tests
2626
run: pnpm test:unit
2727

28-
- name: Run Browser Tests
29-
run: pnpm test:browser
30-
3128
- name: Install Playwright browsers
3229
run: pnpm exec playwright install --with-deps chromium firefox webkit
3330

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
"build": "pnpm run -r --filter=!demo build",
1111
"release": "pnpm run lint && pnpm run typecheck && pnpm run build && sheep release -b main --force",
1212
"lint": "eslint --cache",
13-
"test": "pnpm run lint && pnpm run typecheck && pnpm run test:unit && pnpm run test:browser && pnpm run test:e2e",
13+
"test": "pnpm run lint && pnpm run typecheck && pnpm run test:unit && pnpm run test:e2e",
1414
"typecheck": "pnpm --filter vue-virtual-scroller typecheck",
1515
"test:unit": "pnpm run -r --filter vue-virtual-scroller test",
16-
"test:browser": "vitest run --config packages/vue-virtual-scroller/vite.browser.config.ts",
1716
"test:e2e": "playwright test",
1817
"test:ci": "pnpm build && pnpm docs:build && pnpm --filter vue-virtual-scroller exec npm pack --dry-run",
1918
"docs:dev": "vitepress dev docs",
@@ -25,12 +24,10 @@
2524
"@antfu/eslint-config": "^7.7.0",
2625
"@playwright/test": "1.58.2",
2726
"@types/node": "^25.5.0",
28-
"@vitest/browser-playwright": "4.0.16",
2927
"eslint": "^10.0.2",
3028
"playwright": "1.58.2",
3129
"typescript": "^5.3.3",
3230
"vitepress": "^1.6.4",
33-
"vitest": "4.0.16",
3431
"vue": "^3.2.41",
3532
"vue-tsc": "^3.2.6"
3633
}

packages/vue-virtual-scroller/src/composables/useDynamicScroller.browser.spec.ts

Lines changed: 0 additions & 343 deletions
This file was deleted.

0 commit comments

Comments
 (0)