QA-1: Playwright e2e harness - config (phone 390px + desktop projects, mock/live via E2E_BASE_URL), npm run e2e, vitest excludes e2e/
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { configDefaults } from 'vitest/config'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
@@ -10,4 +11,8 @@ export default defineConfig({
|
||||
// the port; this only widens the host from localhost to 0.0.0.0.
|
||||
host: true,
|
||||
},
|
||||
test: {
|
||||
// QA-1: e2e/ gehört Playwright (npm run e2e), nicht vitest.
|
||||
exclude: [...configDefaults.exclude, 'e2e/**'],
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user