summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-07-28 14:17:05 -0400
committerGravatar Matthew Phillips <matthew@skypack.dev> 2022-07-28 14:17:05 -0400
commit8efe43ffe1a924f66a8c477c8bfe02843f9785d1 (patch)
tree41944a6532844c166dc530a16ae1e6e5bef31096
parentc2512230eef2208750175563d22d4cd7e78cdc18 (diff)
downloadastro-8efe43ffe1a924f66a8c477c8bfe02843f9785d1.tar.gz
astro-8efe43ffe1a924f66a8c477c8bfe02843f9785d1.tar.zst
astro-8efe43ffe1a924f66a8c477c8bfe02843f9785d1.zip
Fix lit e2e
-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 = () => {};