A platform for community discussion. Free, open, simple.
FIX: Allow the clear callbacks to execute in acceptance tests
Robin Ward035e63c81ffd
diff --git a/test/javascripts/helpers/qunit-helpers.js.es6 b/test/javascripts/helpers/qunit-helpers.js.es6index d4513f33166..5e79f87647a 100644--- a/test/javascripts/helpers/qunit-helpers.js.es6+++ b/test/javascripts/helpers/qunit-helpers.js.es6@@ -126,7 +126,6 @@ export function acceptance(name, options) {initSearchData();resetDecorators();resetPostCookedDecorators();- resetWidgetCleanCallbacks();resetOneboxCache();resetCustomPostMessageCallbacks();Discourse._runInitializer("instanceInitializers", function(@@ -138,6 +137,9 @@ export function acceptance(name, options) {}});Discourse.reset();++ // We do this after reset so that the willClearRender will have already fired+ resetWidgetCleanCallbacks();}});}