diff --git a/packages/astro/test/lit-element.test.js b/packages/astro/test/lit-element.test.js index 395eaf2e52..a341499a9f 100644 --- a/packages/astro/test/lit-element.test.js +++ b/packages/astro/test/lit-element.test.js @@ -71,12 +71,3 @@ describe('LitElement test', function () { expect($('my-element').html()).to.include(`
Testing...
`); }); }); - -after(async () => { - // The Lit renderer adds browser globals that interfere with other tests, so remove them now. - const globals = Object.keys(globalThis.window || {}); - globals.splice(globals.indexOf('global'), 1); - for (let name of globals) { - delete globalThis[name]; - } -});