diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 4f925fc..95b3f95 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -1,15 +1,5 @@ import { defineConfig, devices } from '@playwright/test' -// Suppress Node 25 warning from MSW's cookieStore accessing native localStorage -// without --localstorage-file being set. Harmless — MSW doesn't need file-backed storage. -const originalEmit = process.emit.bind(process) -process.emit = function (event: string, ...args: unknown[]) { - if (event === 'warning' && args[0] instanceof Error && args[0].message.includes('--localstorage-file')) { - return false - } - return originalEmit(event, ...args) -} as typeof process.emit - export default defineConfig({ testDir: './e2e', fullyParallel: true,