From c107e9913841878f20b7deb7537b9aff9ae4ade7 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Thu, 2 Nov 2017 23:38:51 +0100 Subject: [PATCH] clear localStorage after each test --- test/javascripts/helpers/qunit-helpers.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/test/javascripts/helpers/qunit-helpers.js.es6 b/test/javascripts/helpers/qunit-helpers.js.es6 index 5a7c3347048..6cf586009f3 100644 --- a/test/javascripts/helpers/qunit-helpers.js.es6 +++ b/test/javascripts/helpers/qunit-helpers.js.es6 @@ -90,6 +90,7 @@ export function acceptance(name, options) { options.afterEach.call(this); } flushMap(); + localStorage.clear(); Discourse.User.resetCurrent(); resetSite(Discourse.SiteSettings); resetExtraClasses();