DEV: Fix localStorage test leakage (#17917)
We weren't clearing the store in all cases.
This commit is contained in:
parent
3a21618e4e
commit
afaa2d5417
|
@ -159,7 +159,6 @@ export function testCleanup(container, app) {
|
|||
});
|
||||
}
|
||||
|
||||
localStorage.clear();
|
||||
User.resetCurrent();
|
||||
resetExtraClasses();
|
||||
clearOutletCache();
|
||||
|
|
|
@ -319,6 +319,7 @@ export default function setupTests(config) {
|
|||
flushMap();
|
||||
|
||||
MessageBus.unsubscribe("*");
|
||||
localStorage.clear();
|
||||
});
|
||||
|
||||
if (getUrlParameter("qunit_disable_auto_start") === "1") {
|
||||
|
|
Loading…
Reference in New Issue