clear localStorage after each test

This commit is contained in:
Gerhard Schlager 2017-11-02 23:38:51 +01:00
parent 18d65fe7e5
commit c107e99138
1 changed files with 1 additions and 0 deletions

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();