Skip to content

Commit 1f1a811

Browse files
committed
fix: record missing primaryDomain private API usage
1 parent 2989879 commit 1f1a811

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

test/realtime/init.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ define(['ably', 'shared_helper', 'chai'], function (Ably, Helper, chai) {
494494
var hosts = new Ably.Rest._Http()._getHosts(realtime);
495495
/* restHost rather than realtimeHost as that's what connectionManager
496496
* knows about; converted to realtimeHost by the websocketTransport */
497+
helper.recordPrivateApi('read.realtime.options.primaryDomain');
497498
expect(hosts[0]).to.equal(
498499
realtime.options.primaryDomain,
499500
'Check connected realtime host is the first option',

test/rest/push.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ define(['ably', 'shared_helper', 'async', 'chai', 'test/support/push_channel_tra
412412

413413
const channel = realtime.channels.get(channelName);
414414

415-
helper.recordPrivateApi('read.realtime.options');
415+
helper.recordPrivateApi('read.realtime.options.primaryDomain');
416416
const baseUri = realtime.baseUri(realtime.options.primaryDomain);
417417

418418
helper.recordPrivateApi('read.realtime.options');

0 commit comments

Comments
 (0)