From 5b1d7001340cb96f75243485eb0650c186d01bea Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 3 Mar 2022 10:01:30 -0500 Subject: [PATCH] Remove the after in the Lit test (#2710) --- packages/astro/test/lit-element.test.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/astro/test/lit-element.test.js b/packages/astro/test/lit-element.test.js index 395eaf2e5..a341499a9 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]; - } -});