diff --git a/packages/test-utils/src/browser.ts b/packages/test-utils/src/browser.ts index 9338358fe6..03a005fc8e 100644 --- a/packages/test-utils/src/browser.ts +++ b/packages/test-utils/src/browser.ts @@ -7,7 +7,9 @@ export async function createBrowser () { let playwright: typeof import('playwright') try { - playwright = await import('playwright') + // Workround for https://github.com/nuxt/framework/issues/3470 + // TODO: Remove when upstream issue resolved + playwright = await import(String('playwright')) } catch { /* istanbul ignore next */ throw new Error(`