clear localStorage after each test

This commit is contained in:
Gerhard Schlager 2017-11-02 23:38:51 +01:00
parent 18d65fe7e5
commit c107e99138

View File

@ -90,6 +90,7 @@ export function acceptance(name, options) {
options.afterEach.call(this);
}
flushMap();
localStorage.clear();
Discourse.User.resetCurrent();
resetSite(Discourse.SiteSettings);
resetExtraClasses();