mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
45 lines
2.0 KiB
JSON
45 lines
2.0 KiB
JSON
{
|
|
"name": "@vitest/test-browser",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "pnpm run test:webdriverio && pnpm run test:playwright",
|
|
"test:unit": "vitest --no-watch --config=vitest.config.unit.mts",
|
|
"test:webdriverio": "PROVIDER=webdriverio pnpm run test:unit",
|
|
"test:playwright": "PROVIDER=playwright pnpm run test:unit",
|
|
"test:safaridriver": "PROVIDER=webdriverio BROWSER=safari pnpm run test:unit",
|
|
"test-fixtures": "vitest",
|
|
"test-expect-dom": "vitest --root ./fixtures/expect-dom",
|
|
"test-mocking": "vitest --root ./fixtures/mocking",
|
|
"test-failing": "vitest --root ./fixtures/failing",
|
|
"test-timeout": "vitest --root ./fixtures/timeout",
|
|
"test-timeout-hooks": "vitest --root ./fixtures/timeout-hooks",
|
|
"test-mocking-watch": "vitest --root ./fixtures/mocking-watch",
|
|
"test-locators": "vitest --root ./fixtures/locators",
|
|
"test-locators-custom": "vitest --root ./fixtures/locators-custom",
|
|
"test-different-configs": "vitest --root ./fixtures/multiple-different-configs",
|
|
"test-setup-file": "vitest --root ./fixtures/setup-file",
|
|
"test-snapshots": "vitest --root ./fixtures/update-snapshot",
|
|
"coverage": "vitest --coverage.enabled --coverage.provider=istanbul --browser.headless=yes",
|
|
"test:browser:preview": "PROVIDER=preview vitest",
|
|
"test:browser:playwright": "PROVIDER=playwright vitest",
|
|
"test:browser:webdriverio": "PROVIDER=webdriverio vitest",
|
|
"test:browser:playwright:html": "PROVIDER=playwright vitest --reporter=html"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/react": "^19.1.9",
|
|
"@vitejs/plugin-basic-ssl": "^2.1.0",
|
|
"@vitest/browser": "workspace:*",
|
|
"@vitest/bundled-lib": "link:./bundled-lib",
|
|
"@vitest/cjs-lib": "link:./cjs-lib",
|
|
"playwright": "^1.54.1",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"url": "^0.11.4",
|
|
"vitest": "workspace:*",
|
|
"vitest-browser-react": "^0.3.0",
|
|
"ws": "catalog:"
|
|
}
|
|
}
|