Fix lit e2e

This commit is contained in:
Matthew Phillips 2022-07-28 14:17:05 -04:00
parent c2512230ee
commit 8efe43ffe1

View file

@ -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 = () => {};