2022-08-09 10:44:30 +02:00
|
|
|
import type { PlaywrightTestConfig } from "@playwright/test"
|
2022-08-09 10:21:38 +02:00
|
|
|
|
|
|
|
const config: PlaywrightTestConfig = {
|
2022-08-09 10:44:30 +02:00
|
|
|
webServer: {
|
|
|
|
command: "npm run build && npm run preview",
|
|
|
|
port: 4173,
|
|
|
|
},
|
2023-07-19 11:45:22 +02:00
|
|
|
testDir: "tests",
|
|
|
|
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
|
2022-08-09 10:44:30 +02:00
|
|
|
}
|
2022-08-09 10:21:38 +02:00
|
|
|
|
2022-08-09 10:44:30 +02:00
|
|
|
export default config
|