diff --git a/test/common/modules/shared_helper.js b/test/common/modules/shared_helper.js index 0cfd8ce1d..986ed85f7 100644 --- a/test/common/modules/shared_helper.js +++ b/test/common/modules/shared_helper.js @@ -303,5 +303,6 @@ define([ testMessageEquality: testMessageEquality, closeActiveClients, logTestResults, + flushTestLogs: globals.flushLogs, }); }); diff --git a/test/support/root_hooks.js b/test/support/root_hooks.js index 8b3d59e70..aab15e140 100644 --- a/test/support/root_hooks.js +++ b/test/support/root_hooks.js @@ -12,5 +12,6 @@ define(['shared_helper'], function (helper) { afterEach(helper.closeActiveClients); afterEach(helper.logTestResults); + afterEach(helper.flushTestLogs); beforeEach(helper.clearTransportPreference); });