Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/realtime/channel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1882,7 +1882,7 @@ define(['ably', 'shared_helper', 'async', 'chai'], function (Ably, Helper, async
transport.send = function (msg) {
if (msg.action === 10) {
try {
expect(msg.channelSerial).to.equal('channelSerial2');
expect(msg.channelSerial).to.equal('channelSerial');
resolve();
} catch (error) {
reject(error);
Expand Down
2 changes: 1 addition & 1 deletion test/realtime/live_objects.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4246,7 +4246,7 @@ define(['ably', 'shared_helper', 'chai', 'live_objects', 'live_objects_helper'],
const root = await liveObjects.getRoot();

const data = new Array(100).fill('a').join('');
const error = await expectRejectedWith(
const error = await expectToThrowAsync(
async () => root.set('key', data),
'Maximum size of state messages that can be published at once exceeded',
);
Expand Down
Loading