mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Update playwright.i18n.config.ts to use defineConfig() instead of PlaywrightTestConfig interface to fix TypeScript compilation issues with 'declare' fields. The defineConfig API provides proper Vite integration for TypeScript/Babel compilation, fixing the error: 'TypeScript declare fields must first be transformed by @babel/plugin-transform-typescript' Fixes compilation error in i18n collection workflow.
13 lines
250 B
TypeScript
13 lines
250 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './scripts',
|
|
use: {
|
|
baseURL: 'http://localhost:5173',
|
|
headless: true
|
|
},
|
|
reporter: 'list',
|
|
timeout: 60000,
|
|
testMatch: /collect-i18n-.*\.ts/
|
|
})
|