Fix lit e2e
This commit is contained in:
parent
c2512230ee
commit
8efe43ffe1
1 changed files with 1 additions and 0 deletions
|
@ -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 = () => {};
|
||||
|
|
Loading…
Reference in a new issue