Skip to content

Commit

Permalink
Merge pull request #1714 from ably/flush-logs-after-test
Browse files Browse the repository at this point in the history
test: flush logs after each test
  • Loading branch information
owenpearson authored Mar 25, 2024
2 parents 674b86a + 265ae3a commit df84ac3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/common/modules/shared_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,6 @@ define([
testMessageEquality: testMessageEquality,
closeActiveClients,
logTestResults,
flushTestLogs: globals.flushLogs,
});
});
1 change: 1 addition & 0 deletions test/support/root_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ define(['shared_helper'], function (helper) {

afterEach(helper.closeActiveClients);
afterEach(helper.logTestResults);
afterEach(helper.flushTestLogs);
beforeEach(helper.clearTransportPreference);
});

0 comments on commit df84ac3

Please sign in to comment.