diff --git a/packages/astro/e2e/lit-component.test.js b/packages/astro/e2e/lit-component.test.js index c7e4d8c80..827f74119 100644 --- a/packages/astro/e2e/lit-component.test.js +++ b/packages/astro/e2e/lit-component.test.js @@ -113,6 +113,7 @@ test.describe('Lit components', () => { const t = test.extend({}); t.beforeAll(async ({ astro }) => { + delete globalThis.window; // Playwright's Node version doesn't have these functions, so stub them. process.stdout.clearLine = () => {}; process.stdout.cursorTo = () => {};