refactor(fsd): consolidate src/lib into shared, move test setup to shared/config/tests

This commit is contained in:
Ilia Mashkov
2026-03-07 10:55:57 +03:00
parent ef9d97dde0
commit 45e3ef77c6
11 changed files with 15 additions and 32 deletions

View File

@@ -1,7 +1,8 @@
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./src/tests/e2e",
testDir: "./src",
testMatch: "**/*.e2e.{ts,js}",
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
@@ -26,7 +27,7 @@ export default defineConfig({
},
],
webServer: {
command: "npm run build && npm run preview",
command: "bun run build && bun run preview",
port: 4173,
},
});