summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/e2e/lit-component.test.js1
1 files changed, 1 insertions, 0 deletions
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 = () => {};