mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-10 10:21:31 -10:00
19 lines
486 B
TypeScript
19 lines
486 B
TypeScript
import { defineConfig } from "@playwright/test"
|
|
|
|
const baseURL = `http://127.0.0.1:${process.env.PATCH_PORT ?? 4317}`
|
|
export default defineConfig({
|
|
testDir: ".",
|
|
testMatch: "*.bench.ts",
|
|
workers: 1,
|
|
retries: 0,
|
|
timeout: 60_000,
|
|
outputDir: process.env.PATCH_RESULTS_DIR,
|
|
reporter: "line",
|
|
use: { baseURL, viewport: { width: 1366, height: 768 }, colorScheme: "light" },
|
|
webServer: {
|
|
command: "bun serve.ts",
|
|
url: baseURL,
|
|
reuseExistingServer: false,
|
|
},
|
|
})
|