diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 45e0135..0c607fd 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,8 @@ "recommendations": [ "typescriptteam.native-preview", "dbaeumer.vscode-eslint", - "oxc.oxc-vscode" + "oxc.oxc-vscode", + "vitest.explorer", + "ms-playwright.playwright" ] } diff --git a/CLAUDE.md b/CLAUDE.md index 8d92fd9..1fec2e0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,7 +14,7 @@ Single-package repository providing **utilities for writing tests with Playwrigh ## Tests -- Unit tests: Vitest, located in `src/__tests__/**/*.test.ts` (`pnpm turbo test:unit`) +- Unit tests: Vitest, located in `src/**/*.test.ts` (`pnpm turbo test:unit`) - Integration tests: Playwright, located in `tests/**/*.spec.ts` (`pnpm turbo test:integration`) ## Conventions diff --git a/playwright.config.ts b/playwright.config.ts index cd19278..1f041e9 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,6 +1,6 @@ import { defineConfig, devices } from "@playwright/test"; -const isCI = process.env.CI === "true"; +import { isCI } from "./src/environment"; export default defineConfig({ testDir: "tests", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4923206..3b4f933 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -16,5 +16,4 @@ overrides: allowBuilds: esbuild: false - node: true node@runtime:24.20.0: true