mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
24 lines
518 B
TypeScript
24 lines
518 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: "./tests/e2e",
|
||
|
|
timeout: 60_000,
|
||
|
|
retries: 0,
|
||
|
|
workers: 1,
|
||
|
|
reporter: [["list"]],
|
||
|
|
use: { baseURL: "http://127.0.0.1:4173" },
|
||
|
|
projects: [
|
||
|
|
{
|
||
|
|
name: "perf",
|
||
|
|
testMatch: ["**/*.perf.ts"],
|
||
|
|
use: { ...devices["Desktop Chrome"] },
|
||
|
|
},
|
||
|
|
],
|
||
|
|
webServer: {
|
||
|
|
command: "python3 -m http.server 4173 -d dist",
|
||
|
|
cwd: ".",
|
||
|
|
reuseExistingServer: true,
|
||
|
|
url: "http://127.0.0.1:4173",
|
||
|
|
},
|
||
|
|
});
|