mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
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
Block a user