mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
4e056ee9d7
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Vladimir Sheremet <[email protected]>
52 lines
2.2 KiB
JSON
52 lines
2.2 KiB
JSON
{
|
|
"name": "@vitest/test-browser",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "pnpm run test:playwright",
|
|
"test:unit": "vitest --no-watch --config=vitest.config.unit.mts",
|
|
"test:playwright": "PROVIDER=playwright pnpm run test:unit",
|
|
"test-fixtures": "vitest",
|
|
"bench-fixtures": "vitest bench",
|
|
"test-expect-dom": "vitest --root ./fixtures/expect-dom",
|
|
"test-mocking": "vitest --root ./fixtures/mocking",
|
|
"test-logs": "vitest --root ./fixtures/print-logs",
|
|
"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-trace": "vitest --root ./fixtures/trace",
|
|
"test-setup-file": "vitest --root ./fixtures/setup-file",
|
|
"test-snapshots": "vitest --root ./fixtures/update-snapshot",
|
|
"test-broken-iframe": "vitest --root ./fixtures/broken-iframe",
|
|
"coverage": "vitest --coverage.enabled --coverage.provider=istanbul --browser.headless=yes",
|
|
"test:browser:preview": "PROVIDER=preview vitest",
|
|
"test:browser:playwright": "PROVIDER=playwright vitest",
|
|
"test:browser:playwright:html": "PROVIDER=playwright vitest --reporter=html",
|
|
"docker": "docker compose"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.17",
|
|
"@types/yauzl": "catalog:",
|
|
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
|
"@vitest/browser": "workspace:*",
|
|
"@vitest/browser-playwright": "workspace:*",
|
|
"@vitest/browser-preview": "workspace:*",
|
|
"@vitest/bundled-lib": "link:./bundled-lib",
|
|
"@vitest/cjs-lib": "link:./cjs-lib",
|
|
"playwright": "catalog:",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"test-dep-error": "file:./deps/test-dep-error",
|
|
"tinyexec": "catalog:",
|
|
"url": "^0.11.4",
|
|
"vitest": "workspace:*",
|
|
"vitest-browser-react": "^2.2.0",
|
|
"ws": "catalog:",
|
|
"yauzl": "catalog:"
|
|
}
|
|
}
|