diff options
author | 2022-03-03 10:01:30 -0500 | |
---|---|---|
committer | 2022-03-03 10:01:30 -0500 | |
commit | 5b1d7001340cb96f75243485eb0650c186d01bea (patch) | |
tree | a5f0bbf22b098b5b87cf4ee06b5bbb595f60474e /packages/astro/test/lit-element.test.js | |
parent | fd6c459d340a31c8541488872646ce940c7d23b2 (diff) | |
download | astro-5b1d7001340cb96f75243485eb0650c186d01bea.tar.gz astro-5b1d7001340cb96f75243485eb0650c186d01bea.tar.zst astro-5b1d7001340cb96f75243485eb0650c186d01bea.zip |
Remove the after in the Lit test (#2710)
Diffstat (limited to '')
-rw-r--r-- | packages/astro/test/lit-element.test.js | 9 |
1 files changed, 0 insertions, 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(`<div>Testing...</div>`); }); }); - -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]; - } -}); |