Skip to content

Commit

Permalink
test: no explicit logLevel
Browse files Browse the repository at this point in the history
with the changes to emit debug logs for failed tests by default these
aren't necessary
  • Loading branch information
owenpearson committed Feb 29, 2024
1 parent 080f45f commit 2a0d85c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion test/realtime/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,6 @@ define(['ably', 'shared_helper', 'async', 'chai'], function (Ably, helper, async
/* Check that only the last authorize matters */
it('multiple_concurrent_authorize', function (done) {
var realtime = helper.AblyRealtime({
logLevel: 4,
useTokenAuth: true,
defaultTokenParams: { capability: { wrong: ['*'] } },
});
Expand Down
2 changes: 1 addition & 1 deletion test/realtime/connection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ define(['ably', 'shared_helper', 'async', 'chai'], function (Ably, helper, async
it('connectionAttributes', function (done) {
var realtime;
try {
realtime = helper.AblyRealtime({ logLevel: 4 });
realtime = helper.AblyRealtime();
realtime.connection.on('connected', function () {
try {
const recoveryContext = JSON.parse(realtime.connection.recoveryKey);
Expand Down
6 changes: 3 additions & 3 deletions test/realtime/presence.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1968,9 +1968,9 @@ define(['ably', 'shared_helper', 'async', 'chai'], function (Ably, helper, async
* and only members that changed between ATTACHED states should result in
* presence events */
it('suspended_preserves_presence', function (done) {
var mainRealtime = helper.AblyRealtime({ clientId: 'main', logLevel: 4 }),
continuousRealtime = helper.AblyRealtime({ clientId: 'continuous', logLevel: 4 }),
leavesRealtime = helper.AblyRealtime({ clientId: 'leaves', logLevel: 4 }),
var mainRealtime = helper.AblyRealtime({ clientId: 'main' }),
continuousRealtime = helper.AblyRealtime({ clientId: 'continuous' }),
leavesRealtime = helper.AblyRealtime({ clientId: 'leaves' }),
channelName = 'suspended_preserves_presence',
mainChannel = mainRealtime.channels.get(channelName);

Expand Down
1 change: 0 additions & 1 deletion test/rest/fallbacks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ define(['shared_helper', 'async', 'chai'], function (helper, async, chai) {
restHost: helper.unroutableHost,
fallbackHosts: [goodHost],
httpRequestTimeout: 3000,
logLevel: 4,
});
var validUntil;
var serverTime = await rest.time();
Expand Down

0 comments on commit 2a0d85c

Please sign in to comment.