diff --git a/browser_tests/globalSetupWithI18n.ts b/browser_tests/globalSetupWithI18n.ts index 7a6a0b293..4197c14bf 100644 --- a/browser_tests/globalSetupWithI18n.ts +++ b/browser_tests/globalSetupWithI18n.ts @@ -1,5 +1,7 @@ +import type { FullConfig } from '@playwright/test' + import { preprocessLitegraph } from './i18nSetup' -export default async function globalSetupWithI18n() { +export default async function globalSetup(config: FullConfig) { await preprocessLitegraph() } diff --git a/browser_tests/globalTeardownWithI18n.ts b/browser_tests/globalTeardownWithI18n.ts index a8960695b..d6740e2d8 100644 --- a/browser_tests/globalTeardownWithI18n.ts +++ b/browser_tests/globalTeardownWithI18n.ts @@ -1,5 +1,7 @@ +import { FullConfig } from '@playwright/test' + import { restoreLitegraph } from './i18nSetup' -export default async function globalTeardownWithI18n() { +export default async function globalTeardown(config: FullConfig) { await restoreLitegraph() }