Remove the after in the Lit test (#2710)

This commit is contained in:
Matthew Phillips 2022-03-03 10:01:30 -05:00
parent 8e5ef8d02e
commit 04d14f1ca3

View file

@ -74,12 +74,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];
}
});