clear localStorage after each test
This commit is contained in:
parent
18d65fe7e5
commit
c107e99138
|
@ -90,6 +90,7 @@ export function acceptance(name, options) {
|
|||
options.afterEach.call(this);
|
||||
}
|
||||
flushMap();
|
||||
localStorage.clear();
|
||||
Discourse.User.resetCurrent();
|
||||
resetSite(Discourse.SiteSettings);
|
||||
resetExtraClasses();
|
||||
|
|
Loading…
Reference in New Issue