Remove the after in the Lit test (#2710)
This commit is contained in:
parent
fd6c459d34
commit
5b1d700134
1 changed files with 0 additions and 9 deletions
|
@ -71,12 +71,3 @@ describe('LitElement test', function () {
|
||||||
expect($('my-element').html()).to.include(`<div>Testing...</div>`);
|
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