diff options
author | 2022-07-28 14:17:05 -0400 | |
---|---|---|
committer | 2022-07-28 14:17:05 -0400 | |
commit | 8efe43ffe1a924f66a8c477c8bfe02843f9785d1 (patch) | |
tree | 41944a6532844c166dc530a16ae1e6e5bef31096 | |
parent | c2512230eef2208750175563d22d4cd7e78cdc18 (diff) | |
download | astro-8efe43ffe1a924f66a8c477c8bfe02843f9785d1.tar.gz astro-8efe43ffe1a924f66a8c477c8bfe02843f9785d1.tar.zst astro-8efe43ffe1a924f66a8c477c8bfe02843f9785d1.zip |
Fix lit e2e
-rw-r--r-- | packages/astro/e2e/lit-component.test.js | 1 |
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 = () => {}; |