Remove the after in the Lit test (#2710)
This commit is contained in:
parent
8e5ef8d02e
commit
04d14f1ca3
1 changed files with 0 additions and 9 deletions
|
@ -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];
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue