<testsuites name="Mocha Tests" time="1378.462" tests="594" failures="461" skipped="12">
  <testsuite name="Root Suite" timestamp="2024-02-26T13:15:51" tests="0" time="0.000" failures="0">
  </testsuite>
  <testsuite name="realtime/api" timestamp="2024-02-26T13:15:51" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/api.test.js" time="0.006" failures="0">
    <testcase name="realtime/api Client constructors" time="0.001" classname="Client constructors">
    </testcase>
    <testcase name="realtime/api Crypto" time="0.000" classname="Crypto">
    </testcase>
    <testcase name="realtime/api Message" time="0.000" classname="Message">
    </testcase>
    <testcase name="realtime/api PresenceMessage" time="0.000" classname="PresenceMessage">
    </testcase>
  </testsuite>
  <testsuite name="realtime/auth" timestamp="2024-02-26T13:15:51" tests="83" file="/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js" time="1276.005" failures="20">
    <testcase name="realtime/auth authbase0" time="0.266" classname="authbase0">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_json" time="0.899" classname="auth_useAuthUrl_json">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_post_json" time="0.557" classname="auth_useAuthUrl_post_json">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_plainText" time="0.795" classname="auth_useAuthUrl_plainText">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenRequestResponse" time="0.431" classname="auth_useAuthCallback_tokenRequestResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenDetailsResponse" time="0.592" classname="auth_useAuthCallback_tokenDetailsResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenStringResponse" time="0.464" classname="auth_useAuthCallback_tokenStringResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_mixed_authParams_qsParams" time="0.717" classname="auth_useAuthUrl_mixed_authParams_qsParams">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance" time="0.505" classname="auth_clientid_inheritance">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance2" time="0.069" classname="auth_clientid_inheritance2">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance3" time="0.325" classname="auth_clientid_inheritance3">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance4" time="0.348" classname="auth_clientid_inheritance4">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance5" time="0.398" classname="auth_clientid_inheritance5">
    </testcase>
    <testcase name="realtime/auth authCallback_error" time="0.002" classname="authCallback_error">
    </testcase>
    <testcase name="realtime/auth authCallback_timeout" time="0.101" classname="authCallback_timeout">
    </testcase>
    <testcase name="realtime/auth authCallback_nothing" time="0.001" classname="authCallback_nothing">
    </testcase>
    <testcase name="realtime/auth authCallback_malformed" time="0.000" classname="authCallback_malformed">
    </testcase>
    <testcase name="realtime/auth authCallback_too_long_string" time="0.009" classname="authCallback_too_long_string">
    </testcase>
    <testcase name="realtime/auth authCallback_empty_string" time="0.001" classname="authCallback_empty_string">
    </testcase>
    <testcase name="realtime/auth authUrl_timeout" time="0.102" classname="authUrl_timeout">
    </testcase>
    <testcase name="realtime/auth authUrl_404" time="0.020" classname="authUrl_404">
    </testcase>
    <testcase name="realtime/auth authUrl_wrong_content_type" time="0.004" classname="authUrl_wrong_content_type">
    </testcase>
    <testcase name="realtime/auth authUrl_401" time="0.142" classname="authUrl_401">
    </testcase>
    <testcase name="realtime/auth authUrl_double_encoded" time="0.143" classname="authUrl_double_encoded">
    </testcase>
    <testcase name="realtime/auth authUrl_403" time="0.142" classname="authUrl_403">
    </testcase>
    <testcase name="realtime/auth authUrl_403_custom_error" time="0.143" classname="authUrl_403_custom_error">
    </testcase>
    <testcase name="realtime/auth authUrl_403_previously_active" time="0.670" classname="authUrl_403_previously_active">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_web_socket_binary_transport" time="5.032" classname="auth_token_expires_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_web_socket_text_transport" time="5.032" classname="auth_token_expires_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_comet_binary_transport" time="60.003" classname="auth_token_expires_with_comet_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_comet_text_transport" time="60.008" classname="auth_token_expires_with_comet_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_binary_transport" time="60.005" classname="auth_token_expires_with_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_text_transport" time="60.005" classname="auth_token_expires_with_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_query_time_once" time="0.067" classname="auth_query_time_once">
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_web_socket_binary_transport" time="5.368" classname="auth_tokenDetails_expiry_with_authcallback_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_web_socket_text_transport" time="5.357" classname="auth_tokenDetails_expiry_with_authcallback_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_comet_binary_transport" time="60.007" classname="auth_tokenDetails_expiry_with_authcallback_with_comet_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_comet_text_transport" time="60.000" classname="auth_tokenDetails_expiry_with_authcallback_with_comet_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_binary_transport" time="60.007" classname="auth_tokenDetails_expiry_with_authcallback_with_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_text_transport" time="60.000" classname="auth_tokenDetails_expiry_with_authcallback_with_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_web_socket_binary_transport" time="5.398" classname="auth_token_string_expiry_with_authcallback_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_web_socket_text_transport" time="5.411" classname="auth_token_string_expiry_with_authcallback_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_comet_binary_transport" time="60.005" classname="auth_token_string_expiry_with_authcallback_with_comet_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_comet_text_transport" time="60.002" classname="auth_token_string_expiry_with_authcallback_with_comet_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_binary_transport" time="60.003" classname="auth_token_string_expiry_with_authcallback_with_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_text_transport" time="60.003" classname="auth_token_string_expiry_with_authcallback_with_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_web_socket_binary_transport" time="5.033" classname="auth_token_string_expiry_with_token_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_web_socket_text_transport" time="5.034" classname="auth_token_string_expiry_with_token_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_comet_binary_transport" time="60.002" classname="auth_token_string_expiry_with_token_with_comet_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_comet_text_transport" time="60.002" classname="auth_token_string_expiry_with_token_with_comet_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_binary_transport" time="60.000" classname="auth_token_string_expiry_with_token_with_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_text_transport" time="60.002" classname="auth_token_string_expiry_with_token_with_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_web_socket_binary_transport" time="0.522" classname="auth_expired_token_string_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_web_socket_text_transport" time="0.448" classname="auth_expired_token_string_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_comet_binary_transport" time="60.002" classname="auth_expired_token_string_with_comet_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_comet_text_transport" time="60.002" classname="auth_expired_token_string_with_comet_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_binary_transport" time="60.002" classname="auth_expired_token_string_with_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_text_transport" time="60.001" classname="auth_expired_token_string_with_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth authorize_updates_stored_details" time="0.001" classname="authorize_updates_stored_details">
    </testcase>
    <testcase name="realtime/auth mocked_reauth" time="0.833" classname="mocked_reauth">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_clientid" time="0.896" classname="auth_jwt_with_clientid">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_clientid_application_jwt" time="0.399" classname="auth_jwt_with_clientid_application_jwt">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_subscribe_only_capability" time="0.474" classname="auth_jwt_with_subscribe_only_capability">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_publish_capability" time="0.534" classname="auth_jwt_with_publish_capability">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_token_that_expires" time="4.561" classname="auth_jwt_with_token_that_expires">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_token_that_renews" time="5.204" classname="auth_jwt_with_token_that_renews">
    </testcase>
    <testcase name="realtime/auth init_client_with_simple_jwt_token" time="0.391" classname="init_client_with_simple_jwt_token">
    </testcase>
    <testcase name="realtime/auth reauth_consistently_expired_token" time="3.171" classname="reauth_consistently_expired_token">
    </testcase>
    <testcase name="realtime/auth expired_token_no_autoremove_when_dont_have_servertime" time="0.428" classname="expired_token_no_autoremove_when_dont_have_servertime">
    </testcase>
    <testcase name="realtime/auth expired_token_autoremove_when_have_servertime" time="0.842" classname="expired_token_autoremove_when_have_servertime">
    </testcase>
    <testcase name="realtime/auth multiple_concurrent_authorize" time="0.853" classname="multiple_concurrent_authorize">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_web_socket_binary_transport" time="0.455" classname="authorize_immediately_after_init_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_web_socket_text_transport" time="0.448" classname="authorize_immediately_after_init_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_comet_binary_transport" time="0.456" classname="authorize_immediately_after_init_with_comet_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_comet_text_transport" time="0.445" classname="authorize_immediately_after_init_with_comet_text_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_binary_transport" time="0.468" classname="authorize_immediately_after_init_with_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_text_transport" time="0.444" classname="authorize_immediately_after_init_with_text_transport">
    </testcase>
  </testsuite>
  <testsuite name="realtime/channel" timestamp="2024-02-26T13:37:07" tests="116" file="/home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" time="33.898" failures="87">
    <testcase name="realtime/channel channelinit0_with_web_socket_binary_transport" time="0.315" classname="channelinit0_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelinit0_with_web_socket_text_transport" time="0.318" classname="channelinit0_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelinit0_with_comet_binary_transport" time="0.001" classname="channelinit0_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelinit0_with_comet_text_transport" time="0.001" classname="channelinit0_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelinit0_with_binary_transport" time="0.000" classname="channelinit0_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelinit0_with_text_transport" time="0.001" classname="channelinit0_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_web_socket_binary_transport" time="0.390" classname="channelattach0_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach0_with_web_socket_text_transport" time="0.379" classname="channelattach0_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach0_with_comet_binary_transport" time="0.000" classname="channelattach0_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_comet_text_transport" time="0.001" classname="channelattach0_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_binary_transport" time="0.000" classname="channelattach0_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_text_transport" time="0.001" classname="channelattach0_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_web_socket_binary_transport" time="0.387" classname="channelattach2_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach2_with_web_socket_text_transport" time="0.391" classname="channelattach2_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach2_with_comet_binary_transport" time="0.001" classname="channelattach2_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_comet_text_transport" time="0.001" classname="channelattach2_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_binary_transport" time="0.000" classname="channelattach2_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_text_transport" time="0.001" classname="channelattach2_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach3_with_web_socket_binary_transport" time="0.443" classname="channelattach3_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach3_with_web_socket_text_transport" time="0.456" classname="channelattach3_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach3_with_comet_binary_transport" time="0.001" classname="channelattach3_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach3_with_comet_text_transport" time="0.001" classname="channelattach3_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_web_socket_binary_transport" time="1.384" classname="channelattachempty_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_web_socket_text_transport" time="1.376" classname="channelattachempty_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_comet_binary_transport" time="0.000" classname="channelattachempty_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_comet_text_transport" time="0.001" classname="channelattachempty_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_binary_transport" time="0.000" classname="channelattachempty_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_text_transport" time="0.001" classname="channelattachempty_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_web_socket_binary_transport" time="1.395" classname="channelattachinvalid_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_web_socket_text_transport" time="1.383" classname="channelattachinvalid_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_comet_binary_transport" time="0.001" classname="channelattachinvalid_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_comet_text_transport" time="0.000" classname="channelattachinvalid_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_binary_transport" time="0.001" classname="channelattachinvalid_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_text_transport" time="0.000" classname="channelattachinvalid_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_web_socket_binary_transport" time="0.386" classname="publish_no_attach_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_web_socket_text_transport" time="0.378" classname="publish_no_attach_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_comet_binary_transport" time="0.001" classname="publish_no_attach_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_comet_text_transport" time="0.000" classname="publish_no_attach_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_binary_transport" time="0.000" classname="publish_no_attach_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_text_transport" time="0.000" classname="publish_no_attach_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_web_socket_binary_transport" time="0.389" classname="channelattach_publish_invalid_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_web_socket_text_transport" time="0.376" classname="channelattach_publish_invalid_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_comet_binary_transport" time="0.000" classname="channelattach_publish_invalid_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_comet_text_transport" time="0.000" classname="channelattach_publish_invalid_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_binary_transport" time="0.001" classname="channelattach_publish_invalid_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_text_transport" time="0.001" classname="channelattach_publish_invalid_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_web_socket_binary_transport" time="1.439" classname="channelattach_invalid_twice_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_web_socket_text_transport" time="1.446" classname="channelattach_invalid_twice_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_comet_binary_transport" time="0.000" classname="channelattach_invalid_twice_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_comet_text_transport" time="0.000" classname="channelattach_invalid_twice_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_binary_transport" time="0.001" classname="channelattach_invalid_twice_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_text_transport" time="0.000" classname="channelattach_invalid_twice_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachOnceOrIfAfter" time="0.382" classname="channelattachOnceOrIfAfter">
    </testcase>
    <testcase name="realtime/channel channelattachOnceOrIfBefore" time="0.388" classname="channelattachOnceOrIfBefore">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_web_socket_binary_transport" time="1.713" classname="attachWithChannelParamsBasicChannelsGet_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_web_socket_text_transport" time="1.707" classname="attachWithChannelParamsBasicChannelsGet_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_comet_binary_transport" time="0.000" classname="attachWithChannelParamsBasicChannelsGet_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_comet_text_transport" time="0.001" classname="attachWithChannelParamsBasicChannelsGet_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_binary_transport" time="0.000" classname="attachWithChannelParamsBasicChannelsGet_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_text_transport" time="0.001" classname="attachWithChannelParamsBasicChannelsGet_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_web_socket_binary_transport" time="1.734" classname="attachWithChannelParamsBasicSetOptions_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_web_socket_text_transport" time="1.700" classname="attachWithChannelParamsBasicSetOptions_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_comet_binary_transport" time="0.001" classname="attachWithChannelParamsBasicSetOptions_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_comet_text_transport" time="0.000" classname="attachWithChannelParamsBasicSetOptions_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_binary_transport" time="0.000" classname="attachWithChannelParamsBasicSetOptions_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_text_transport" time="0.001" classname="attachWithChannelParamsBasicSetOptions_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_web_socket_binary_transport" time="0.388" classname="subscribeAfterSetOptions_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_web_socket_text_transport" time="0.405" classname="subscribeAfterSetOptions_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_comet_binary_transport" time="0.000" classname="subscribeAfterSetOptions_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_comet_text_transport" time="0.001" classname="subscribeAfterSetOptions_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_binary_transport" time="0.000" classname="subscribeAfterSetOptions_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_text_transport" time="0.000" classname="subscribeAfterSetOptions_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelGetShouldThrowWhenWouldCauseReattach" time="0.387" classname="channelGetShouldThrowWhenWouldCauseReattach">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_web_socket_binary_transport" time="0.541" classname="setOptionsCallbackBehaviour_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_web_socket_text_transport" time="0.510" classname="setOptionsCallbackBehaviour_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_comet_binary_transport" time="0.000" classname="setOptionsCallbackBehaviour_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_comet_text_transport" time="0.000" classname="setOptionsCallbackBehaviour_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_binary_transport" time="0.000" classname="setOptionsCallbackBehaviour_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_text_transport" time="0.000" classname="setOptionsCallbackBehaviour_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_web_socket_binary_transport" time="1.911" classname="attachWithChannelParamsModesAndChannelModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_web_socket_text_transport" time="1.906" classname="attachWithChannelParamsModesAndChannelModes_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_comet_binary_transport" time="0.000" classname="attachWithChannelParamsModesAndChannelModes_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_comet_text_transport" time="0.000" classname="attachWithChannelParamsModesAndChannelModes_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_binary_transport" time="0.001" classname="attachWithChannelParamsModesAndChannelModes_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_text_transport" time="0.000" classname="attachWithChannelParamsModesAndChannelModes_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_web_socket_binary_transport" time="1.909" classname="attachWithChannelModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_web_socket_text_transport" time="0.526" classname="attachWithChannelModes_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_comet_binary_transport" time="0.001" classname="attachWithChannelModes_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_comet_text_transport" time="0.001" classname="attachWithChannelModes_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_binary_transport" time="0.000" classname="attachWithChannelModes_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_text_transport" time="0.001" classname="attachWithChannelModes_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport" time="0.084" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport" time="0.085" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_comet_binary_transport" time="0.001" classname="attachWithChannelParamsDeltaAndModes_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_comet_text_transport" time="0.000" classname="attachWithChannelParamsDeltaAndModes_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_binary_transport" time="0.001" classname="attachWithChannelParamsDeltaAndModes_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_text_transport" time="0.000" classname="attachWithChannelParamsDeltaAndModes_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithInvalidChannelParams" time="0.456" classname="attachWithInvalidChannelParams">
    </testcase>
    <testcase name="realtime/channel channelsubscribe0" time="0.290" classname="channelsubscribe0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport" time="0.085" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport" time="0.084" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelsubscribe1" time="0.275" classname="channelsubscribe1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_web_socket_text_transport" time="0.526" classname="attachWithChannelModes_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/channel attachWithChannelModes_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel attachWithChannelModes_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_detached" time="0.210" classname="server_sent_detached">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_detached" time="0.210" classname="server_sent_detached">
      <failure message="done() called multiple times in test &lt;realtime/channel server_sent_detached&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel server_sent_detached> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_detached_while_attaching" time="0.313" classname="server_sent_detached_while_attaching">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_detached_while_attaching" time="0.313" classname="server_sent_detached_while_attaching">
      <failure message="done() called multiple times in test &lt;realtime/channel server_sent_detached_while_attaching&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel server_sent_detached_while_attaching> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_error" time="0.244" classname="server_sent_error">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelsubscribe0" time="0.290" classname="channelsubscribe0">
      <failure message="done() called multiple times in test &lt;realtime/channel channelsubscribe0&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel channelsubscribe0> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_error" time="0.244" classname="server_sent_error">
      <failure message="done() called multiple times in test &lt;realtime/channel server_sent_error&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel server_sent_error> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel server_sent_attached_err" time="0.375" classname="server_sent_attached_err">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_queueing" time="0.002" classname="publish_no_queueing">
    </testcase>
    <testcase name="realtime/channel server_sent_attached_err" time="0.375" classname="server_sent_attached_err">
      <failure message="done() called multiple times in test &lt;realtime/channel server_sent_attached_err&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel server_sent_attached_err> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelsubscribe1" time="0.275" classname="channelsubscribe1">
      <failure message="done() called multiple times in test &lt;realtime/channel channelsubscribe1&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel channelsubscribe1> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel channel_attach_timeout" time="0.323" classname="channel_attach_timeout">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel suspended_connection" time="0.441" classname="suspended_connection">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attached_while_detaching" time="0.380" classname="attached_while_detaching">
    </testcase>
    <testcase name="realtime/channel detaching from suspended channel transitions channel to detached state" time="0.001" classname="detaching from suspended channel transitions channel to detached state">
    </testcase>
    <testcase name="realtime/channel detaching from failed channel results in error" time="0.001" classname="detaching from failed channel results in error">
    </testcase>
    <testcase name="realtime/channel rewind works on channel after reattaching" time="0.185" classname="rewind works on channel after reattaching">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attach_returns_state_change" time="0.151" classname="attach_returns_state_change">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel rewind works on channel after reattaching" time="0.185" classname="rewind works on channel after reattaching">
      <failure message="done() called multiple times in test &lt;realtime/channel rewind works on channel after reattaching&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel rewind works on channel after reattaching> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel attach_returns_state_change" time="0.151" classname="attach_returns_state_change">
      <failure message="done() called multiple times in test &lt;realtime/channel attach_returns_state_change&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel attach_returns_state_change> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribe_returns_state_change" time="0.394" classname="subscribe_returns_state_change">
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_0" time="0.463" classname="rewind_has_backlog_0">
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_1" time="0.028" classname="rewind_has_backlog_1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel should not throw exception then run RealtimeChannels.get() with same options" time="0.001" classname="should not throw exception then run RealtimeChannels.get() with same options">
    </testcase>
  </testsuite>
  <testsuite name="realtime/connection" timestamp="2024-02-26T13:37:41" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/connection.test.js" time="1.690" failures="8">
    <testcase name="realtime/connection connectionPing" time="0.014" classname="connectionPing">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channel_attach_timeout" time="0.323" classname="channel_attach_timeout">
      <failure message="done() called multiple times in test &lt;realtime/channel channel_attach_timeout&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel channel_attach_timeout> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/connection connectionPing" time="0.014" classname="connectionPing">
      <failure message="done() called multiple times in test &lt;realtime/connection connectionPing&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/connection.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/connection connectionPing> of file /home/runner/work/ably-js/ably-js/test/realtime/connection.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_1" time="0.028" classname="rewind_has_backlog_1">
      <failure message="done() called multiple times in test &lt;realtime/channel rewind_has_backlog_1&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel rewind_has_backlog_1> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/connection connectionPingWithCallback" time="0.381" classname="connectionPingWithCallback">
    </testcase>
    <testcase name="realtime/connection connectionAttributes" time="0.130" classname="connectionAttributes">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/connection connectionAttributes" time="0.130" classname="connectionAttributes">
      <failure message="done() called multiple times in test &lt;realtime/connection connectionAttributes&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/connection.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/connection connectionAttributes> of file /home/runner/work/ably-js/ably-js/test/realtime/connection.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/connection unrecoverableConnection" time="0.324" classname="unrecoverableConnection">
    </testcase>
    <testcase name="realtime/connection connectionQueuing" time="0.515" classname="connectionQueuing">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/connection connectionQueuing" time="0.515" classname="connectionQueuing">
      <failure message="done() called multiple times in test &lt;realtime/connection connectionQueuing&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/connection.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/connection connectionQueuing> of file /home/runner/work/ably-js/ably-js/test/realtime/connection.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/connection connectionDetails" time="0.324" classname="connectionDetails">
    </testcase>
  </testsuite>
  <testsuite name="realtime/connectivity" timestamp="2024-02-26T13:37:43" tests="2" file="/home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js" time="0.000" failures="1">
    <testcase name="realtime/channel suspended_connection" time="0.441" classname="suspended_connection">
      <failure message="done() called multiple times in test &lt;realtime/channel suspended_connection&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/channel suspended_connection> of file /home/runner/work/ably-js/ably-js/test/realtime/channel.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/connectivity http_connectivity_check" time="0.041" classname="http_connectivity_check">
    </testcase>
    <testcase name="realtime/connectivity disable_connectivity_check" time="0.000" classname="disable_connectivity_check">
    </testcase>
  </testsuite>
  <testsuite name="configured_connectivity_check_url" timestamp="2024-02-26T13:37:43" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js" time="1.159" failures="2">
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with scheme" time="0.140" classname="succeeds with scheme">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with scheme" time="0.125" classname="fails with scheme">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with scheme" time="0.125" classname="fails with scheme">
      <failure message="done() called multiple times in test &lt;realtime/connectivity configured_connectivity_check_url fails with scheme&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/connectivity configured_connectivity_check_url fails with scheme> of file /home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js:71:15
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:70:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with querystring" time="0.546" classname="succeeds with querystring">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with querystring" time="0.140" classname="fails with querystring">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with plain url" time="0.066" classname="succeeds with plain url">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with plain url" time="0.141" classname="fails with plain url">
    </testcase>
  </testsuite>
  <testsuite name="realtime/crypto" timestamp="2024-02-26T13:37:44" tests="39" file="/home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" time="4.946" failures="32">
    <testcase name="realtime/crypto generateRandomKey0" time="0.001" classname="generateRandomKey0">
    </testcase>
    <testcase name="realtime/crypto generateRandomKey1" time="0.000" classname="generateRandomKey1">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_withResultOfGenerateRandomKey" time="0.000" classname="getDefaultParams_withResultOfGenerateRandomKey">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_ArrayBuffer_key" time="0.001" classname="getDefaultParams_ArrayBuffer_key">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_base64_key" time="0.000" classname="getDefaultParams_base64_key">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_check_keylength" time="0.000" classname="getDefaultParams_check_keylength">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_preserves_custom_algorithms" time="0.001" classname="getDefaultParams_preserves_custom_algorithms">
    </testcase>
    <testcase name="realtime/crypto encrypt_message_128" time="0.003" classname="encrypt_message_128">
    </testcase>
    <testcase name="realtime/crypto encrypt_message_256" time="0.022" classname="encrypt_message_256">
    </testcase>
    <testcase name="realtime/crypto decrypt_message_128" time="0.003" classname="decrypt_message_128">
    </testcase>
    <testcase name="realtime/crypto decrypt_message_256" time="0.014" classname="decrypt_message_256">
    </testcase>
    <testcase name="realtime/crypto fromEncoded_cipher_options" time="0.004" classname="fromEncoded_cipher_options">
    </testcase>
    <testcase name="realtime/crypto msgpack_128" time="0.004" classname="msgpack_128">
    </testcase>
    <testcase name="realtime/crypto msgpack_256" time="0.027" classname="msgpack_256">
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_binary_transport" time="0.223" classname="single_send_128_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_binary_transport" time="0.223" classname="single_send_128_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/crypto single_send_128_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto single_send_128_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_text_transport" time="0.426" classname="single_send_128_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_comet_binary_transport" time="0.001" classname="single_send_128_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_comet_text_transport" time="0.000" classname="single_send_128_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_binary_transport" time="0.000" classname="single_send_128_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_text_transport" time="0.001" classname="single_send_128_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_text_transport" time="0.426" classname="single_send_128_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/crypto single_send_128_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto single_send_128_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_web_socket_binary_transport" time="0.452" classname="single_send_256_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_web_socket_text_transport" time="0.251" classname="single_send_256_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_comet_binary_transport" time="0.001" classname="single_send_256_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_comet_text_transport" time="0.001" classname="single_send_256_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_binary_transport" time="0.001" classname="single_send_256_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_text_transport" time="0.000" classname="single_send_256_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_web_socket_text_transport" time="0.251" classname="single_send_256_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/crypto single_send_256_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto single_send_256_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_2_200" time="0.369" classname="multiple_send_binary_2_200">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_2_200" time="0.204" classname="multiple_send_text_2_200">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_20_100" time="0.060" classname="multiple_send_binary_20_100">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_2_200" time="0.369" classname="multiple_send_binary_2_200">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_binary_2_200&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_binary_2_200> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_20_100" time="0.322" classname="multiple_send_text_20_100">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_2_200" time="0.204" classname="multiple_send_text_2_200">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_text_2_200&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_text_2_200> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_10_10" time="0.128" classname="multiple_send_binary_10_10">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_10_10" time="0.059" classname="multiple_send_text_10_10">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_binary_text" time="0.002" classname="single_send_binary_text">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_text_binary" time="0.174" classname="single_send_text_binary">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_10_10" time="0.128" classname="multiple_send_binary_10_10">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_binary_10_10&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_binary_10_10> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto publish_immediately" time="0.247" classname="publish_immediately">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_binary_text" time="0.002" classname="single_send_binary_text">
      <failure message="done() called multiple times in test &lt;realtime/crypto single_send_binary_text&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto single_send_binary_text> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_text_binary" time="0.174" classname="single_send_text_binary">
      <failure message="done() called multiple times in test &lt;realtime/crypto single_send_text_binary&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js; in addition, done() received error: AssertionError: expected false to be truthy
    at Object.&lt;anonymous&gt; (/home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js:560:56)
    at callListener (/home/runner/work/ably-js/ably-js/build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (&lt;anonymous&gt;)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (/home/runner/work/ably-js/ably-js/build/ably-node.js:9541:13)
    at EventEmitter.emit (/home/runner/work/ably-js/ably-js/build/ably-node.js:9011:15)
    at RealtimeChannel.onEvent (/home/runner/work/ably-js/ably-js/build/ably-node.js:3400:27)
    at RealtimeChannel.processMessage (/home/runner/work/ably-js/ably-js/build/ably-node.js:3723:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Channels.processChannelMessage (/home/runner/work/ably-js/ably-js/build/ably-node.js:2467:9)
    at async ConnectionManager.processChannelMessage (/home/runner/work/ably-js/ably-js/build/ably-node.js:6877:13) {
  showDiff: false,
  actual: false,
  expected: undefined,
  operator: &apos;strictEqual&apos;
}" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto single_send_text_binary> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js; in addition, done() received error: AssertionError: expected false to be truthy
    at Object.<anonymous> (test/realtime/crypto.test.js:560:56)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at EventEmitter.emit (build/ably-node.js:9011:15)
    at RealtimeChannel.onEvent (build/ably-node.js:3400:27)
    at RealtimeChannel.processMessage (build/ably-node.js:3723:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Channels.processChannelMessage (build/ably-node.js:2467:9)
    at async ConnectionManager.processChannelMessage (/home/runner/work/ably-js/ably-js/build/ably-node.js:6877:13) {
  showDiff: false,
  actual: false,
  expected: undefined,
  operator: 'strictEqual'
}
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_10_10" time="0.059" classname="multiple_send_text_10_10">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_text_10_10&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_text_10_10> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto publish_immediately" time="0.247" classname="publish_immediately">
      <failure message="done() called multiple times in test &lt;realtime/crypto publish_immediately&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto publish_immediately> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_key_mismatch" time="0.447" classname="single_send_key_mismatch">
    </testcase>
    <testcase name="realtime/crypto single_send_unencrypted" time="0.451" classname="single_send_unencrypted">
    </testcase>
    <testcase name="realtime/crypto single_send_encrypted_unhandled" time="0.456" classname="single_send_encrypted_unhandled">
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_20_100" time="0.060" classname="multiple_send_binary_20_100">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_binary_20_100&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_binary_20_100> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_20_100" time="0.322" classname="multiple_send_text_20_100">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_text_20_100&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_text_20_100> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto set_cipher_params0" time="0.579" classname="set_cipher_params0">
    </testcase>
  </testsuite>
  <testsuite name="realtime/delta" timestamp="2024-02-26T13:37:49" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" time="2.268" failures="6">
    <testcase name="realtime/delta deltaPlugin" time="0.060" classname="deltaPlugin">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta unusedPlugin" time="0.954" classname="unusedPlugin">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processTimers (node:internal/timers:511:9)]]></failure>
    </testcase>
    <testcase name="realtime/delta lastMessageNotFoundRecovery" time="0.408" classname="lastMessageNotFoundRecovery">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaPlugin" time="0.060" classname="deltaPlugin">
      <failure message="done() called multiple times in test &lt;realtime/delta deltaPlugin&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/delta deltaPlugin> of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/delta unusedPlugin" time="0.954" classname="unusedPlugin">
      <failure message="done() called multiple times in test &lt;realtime/delta unusedPlugin&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/delta unusedPlugin> of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaDecodeFailureRecovery" time="0.845" classname="deltaDecodeFailureRecovery">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/encoding" timestamp="2024-02-26T13:37:51" tests="2" file="/home/runner/work/ably-js/ably-js/test/realtime/encoding.test.js" time="1.945" failures="2">
    <testcase name="realtime/delta lastMessageNotFoundRecovery" time="0.408" classname="lastMessageNotFoundRecovery">
      <failure message="done() called multiple times in test &lt;realtime/delta lastMessageNotFoundRecovery&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/delta lastMessageNotFoundRecovery> of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/encoding message_decoding" time="0.741" classname="message_decoding">
    </testcase>
    <testcase name="realtime/delta deltaDecodeFailureRecovery" time="0.845" classname="deltaDecodeFailureRecovery">
      <failure message="done() called multiple times in test &lt;realtime/delta deltaDecodeFailureRecovery&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/delta deltaDecodeFailureRecovery> of file /home/runner/work/ably-js/ably-js/test/realtime/delta.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/encoding message_encoding" time="1.203" classname="message_encoding">
    </testcase>
  </testsuite>
  <testsuite name="realtime/event_emitter" timestamp="2024-02-26T13:37:53" tests="13" file="/home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" time="0.000" failures="1">
    <testcase name="realtime/event_emitter attachdetach0" time="0.083" classname="attachdetach0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter emitCallsAllCallbacksIgnoringExceptions" time="0.002" classname="emitCallsAllCallbacksIgnoringExceptions">
    </testcase>
    <testcase name="realtime/event_emitter onceCalledOnlyOnce" time="0.001" classname="onceCalledOnlyOnce">
    </testcase>
    <testcase name="realtime/event_emitter onceCallbackDoesNotImpactOnCallback" time="0.001" classname="onceCallbackDoesNotImpactOnCallback">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingListeners" time="0.001" classname="offRemovesAllMatchingListeners">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllListeners" time="0.001" classname="offRemovesAllListeners">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingEventListeners" time="0.000" classname="offRemovesAllMatchingEventListeners">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingEvents" time="0.000" classname="offRemovesAllMatchingEvents">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesEmptyEventNameListeners" time="0.000" classname="offRemovesEmptyEventNameListeners">
    </testcase>
    <testcase name="realtime/event_emitter arrayOfEvents" time="0.001" classname="arrayOfEvents">
    </testcase>
    <testcase name="realtime/event_emitter arrayOfEventsWithOnce" time="0.000" classname="arrayOfEventsWithOnce">
    </testcase>
    <testcase name="realtime/event_emitter listenerAddedInListenerCb" time="0.001" classname="listenerAddedInListenerCb">
    </testcase>
    <testcase name="realtime/event_emitter listenerRemovedInListenerCb" time="0.000" classname="listenerRemovedInListenerCb">
    </testcase>
  </testsuite>
  <testsuite name="event_emitter_promise" timestamp="2024-02-26T13:37:53" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" time="0.568" failures="3">
    <testcase name="realtime/event_emitter event_emitter_promise whenState" time="0.246" classname="whenState">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter attachdetach0" time="0.083" classname="attachdetach0">
      <failure message="done() called multiple times in test &lt;realtime/event_emitter attachdetach0&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/event_emitter attachdetach0> of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js
    at Object.<anonymous> (test/realtime/event_emitter.test.js:39:15)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise whenState" time="0.246" classname="whenState">
      <failure message="done() called multiple times in test &lt;realtime/event_emitter event_emitter_promise whenState&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/event_emitter event_emitter_promise whenState> of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise once" time="0.319" classname="once">
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise anyEventsWithOnce" time="0.000" classname="anyEventsWithOnce">
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise arrayOfEventsWithOnce" time="0.001" classname="arrayOfEventsWithOnce">
    </testcase>
  </testsuite>
  <testsuite name="realtime/failure" timestamp="2024-02-26T13:37:54" tests="20" file="/home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" time="3.908" failures="24">
    <testcase name="realtime/failure invalid_cred_failure" time="0.001" classname="invalid_cred_failure">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure break_transport" time="0.001" classname="break_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure no_connection_lifecycle" time="0.001" classname="no_connection_lifecycle">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure disconnected_backoff_web_socket" time="0.766" classname="disconnected_backoff_web_socket">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure disconnected_backoff_comet" time="0.001" classname="disconnected_backoff_comet">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure failed_channel" time="0.294" classname="failed_channel">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure disconnected_backoff_web_socket" time="0.766" classname="disconnected_backoff_web_socket">
      <failure message="done() called multiple times in test &lt;realtime/failure disconnected_backoff_web_socket&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure disconnected_backoff_web_socket> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure failed_channel" time="0.294" classname="failed_channel">
      <failure message="done() called multiple times in test &lt;realtime/failure failed_channel&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure failed_channel> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure attach_timeout" time="0.536" classname="attach_timeout">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure channel_backoff_web_socket" time="0.723" classname="channel_backoff_web_socket">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure channel_backoff_comet" time="0.000" classname="channel_backoff_comet">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure nack_on_connection_suspended" time="0.061" classname="nack_on_connection_suspended">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure nack_on_connection_failed" time="0.104" classname="nack_on_connection_failed">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure nack_on_connection_suspended" time="0.061" classname="nack_on_connection_suspended">
      <failure message="done() called multiple times in test &lt;realtime/failure nack_on_connection_suspended&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure nack_on_connection_suspended> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure nack_on_connection_failed" time="0.104" classname="nack_on_connection_failed">
      <failure message="done() called multiple times in test &lt;realtime/failure nack_on_connection_failed&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure nack_on_connection_failed> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure nack_on_connection_closed" time="0.317" classname="nack_on_connection_closed">
    </testcase>
    <testcase name="realtime/failure idle_transport_timeout" time="0.081" classname="idle_transport_timeout">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport" time="0.185" classname="try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure channel_backoff_web_socket" time="0.723" classname="channel_backoff_web_socket">
      <failure message="done() called multiple times in test &lt;realtime/failure channel_backoff_web_socket&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure channel_backoff_web_socket> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport" time="0.185" classname="try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_text_transport" time="0.689" classname="try_fallback_hosts_on_placement_constraint_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_comet_binary_transport" time="0.001" classname="try_fallback_hosts_on_placement_constraint_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_comet_text_transport" time="0.000" classname="try_fallback_hosts_on_placement_constraint_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_binary_transport" time="0.001" classname="try_fallback_hosts_on_placement_constraint_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_text_transport" time="0.000" classname="try_fallback_hosts_on_placement_constraint_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure no_messages_if_not_attached" time="0.136" classname="no_messages_if_not_attached">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/history" timestamp="2024-02-26T13:37:58" tests="1" file="/home/runner/work/ably-js/ably-js/test/realtime/history.test.js" time="0.491" failures="2">
    <testcase name="realtime/failure attach_timeout" time="0.536" classname="attach_timeout">
      <failure message="done() called multiple times in test &lt;realtime/failure attach_timeout&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure attach_timeout> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/history history_until_attach" time="0.491" classname="history_until_attach">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/init" timestamp="2024-02-26T13:37:58" tests="15" file="/home/runner/work/ably-js/ably-js/test/realtime/init.test.js" time="1.757" failures="17">
    <testcase name="realtime/init initbase0" time="0.316" classname="initbase0">
    </testcase>
    <testcase name="realtime/init init_key_string" time="0.000" classname="init_key_string">
    </testcase>
    <testcase name="realtime/history history_until_attach" time="0.491" classname="history_until_attach">
      <failure message="done() called multiple times in test &lt;realtime/history history_until_attach&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/history history_until_attach> of file /home/runner/work/ably-js/ably-js/test/realtime/history.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure no_connection_lifecycle" time="0.001" classname="no_connection_lifecycle">
      <failure message="done() called multiple times in test &lt;realtime/failure no_connection_lifecycle&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure no_connection_lifecycle> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js:181:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at Timeout._onTimeout (test/realtime/failure.test.js:163:17)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_token_string" time="0.239" classname="init_token_string">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_key_with_usetokenauth" time="0.019" classname="init_key_with_usetokenauth">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_usetokenauth_defaulttokenparams_wildcard" time="0.028" classname="init_usetokenauth_defaulttokenparams_wildcard">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_defaulttokenparams_nonwildcard" time="0.031" classname="init_defaulttokenparams_nonwildcard">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_token_string" time="0.239" classname="init_token_string">
      <failure message="done() called multiple times in test &lt;realtime/init init_token_string&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_token_string> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_conflicting_clientids" time="0.218" classname="init_conflicting_clientids">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_with_usetokenauth_false_and_a_clientid" time="0.000" classname="init_with_usetokenauth_false_and_a_clientid">
    </testcase>
    <testcase name="realtime/init init_defaulthost" time="0.001" classname="init_defaulthost">
    </testcase>
    <testcase name="realtime/init init_timeouts" time="0.000" classname="init_timeouts">
    </testcase>
    <testcase name="realtime/failure idle_transport_timeout" time="0.081" classname="idle_transport_timeout">
      <failure message="done() called multiple times in test &lt;realtime/failure idle_transport_timeout&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure idle_transport_timeout> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_fallbacks" time="0.018" classname="init_fallbacks">
    </testcase>
    <testcase name="realtime/init node_transports" time="0.000" classname="node_transports">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init node_transports" time="0.000" classname="node_transports">
      <failure message="done() called multiple times in test &lt;realtime/init node_transports&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init node_transports> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_key_with_usetokenauth" time="0.019" classname="init_key_with_usetokenauth">
      <failure message="done() called multiple times in test &lt;realtime/init init_key_with_usetokenauth&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_key_with_usetokenauth> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_usetokenauth_defaulttokenparams_wildcard" time="0.028" classname="init_usetokenauth_defaulttokenparams_wildcard">
      <failure message="done() called multiple times in test &lt;realtime/init init_usetokenauth_defaulttokenparams_wildcard&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_usetokenauth_defaulttokenparams_wildcard> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_and_connection_details" time="0.215" classname="init_and_connection_details">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_defaulttokenparams_nonwildcard" time="0.031" classname="init_defaulttokenparams_nonwildcard">
      <failure message="done() called multiple times in test &lt;realtime/init init_defaulttokenparams_nonwildcard&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_defaulttokenparams_nonwildcard> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_conflicting_clientids" time="0.218" classname="init_conflicting_clientids">
      <failure message="done() called multiple times in test &lt;realtime/init init_conflicting_clientids&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_conflicting_clientids> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_and_connection_details" time="0.215" classname="init_and_connection_details">
      <failure message="done() called multiple times in test &lt;realtime/init init_and_connection_details&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_and_connection_details> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_fallbacks_once_connected" time="0.316" classname="init_fallbacks_once_connected">
    </testcase>
    <testcase name="realtime/init init_fallbacks_once_connected_2" time="0.348" classname="init_fallbacks_once_connected_2">
    </testcase>
  </testsuite>
  <testsuite name="realtime/message" timestamp="2024-02-26T13:38:00" tests="35" file="/home/runner/work/ably-js/ably-js/test/realtime/message.test.js" time="8.492" failures="38">
    <testcase name="realtime/message publishonce" time="0.466" classname="publishonce">
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_binary_transport" time="0.009" classname="publishfast_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_binary_transport" time="0.009" classname="publishfast_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/message publishfast_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publishfast_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_text_transport" time="0.949" classname="publishfast_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/message publishfast_with_comet_binary_transport" time="0.000" classname="publishfast_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_comet_text_transport" time="0.001" classname="publishfast_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_binary_transport" time="0.000" classname="publishfast_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_text_transport" time="0.001" classname="publishfast_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_binary_transport" time="0.570" classname="publishQueued_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_text_transport" time="0.138" classname="publishQueued_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_comet_binary_transport" time="0.321" classname="publishQueued_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_comet_text_transport" time="0.320" classname="publishQueued_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_binary_transport" time="0.322" classname="publishQueued_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_binary_transport" time="0.570" classname="publishQueued_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/message publishQueued_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publishQueued_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_text_transport" time="0.226" classname="publishQueued_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishEcho" time="0.072" classname="publishEcho">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishVariations" time="0.026" classname="publishVariations">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_text_transport" time="0.138" classname="publishQueued_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/message publishQueued_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publishQueued_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishDisallowed" time="0.387" classname="publishDisallowed">
    </testcase>
    <testcase name="realtime/message publishEcho" time="0.072" classname="publishEcho">
      <failure message="done() called multiple times in test &lt;realtime/message publishEcho&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publishEcho> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishEncodings" time="0.659" classname="publishEncodings">
    </testcase>
    <testcase name="realtime/message restpublish" time="0.225" classname="restpublish">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_binary_transport" time="0.040" classname="publish_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_text_transport" time="0.229" classname="publish_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_comet_binary_transport" time="0.001" classname="publish_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_comet_text_transport" time="0.000" classname="publish_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_binary_transport" time="0.001" classname="publish_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_text_transport" time="0.000" classname="publish_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure no_messages_if_not_attached" time="0.136" classname="no_messages_if_not_attached">
      <failure message="done() called multiple times in test &lt;realtime/failure no_messages_if_not_attached&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure no_messages_if_not_attached> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message implicit_client_id_0" time="0.163" classname="implicit_client_id_0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message implicit_client_id_0" time="0.163" classname="implicit_client_id_0">
      <failure message="done() called multiple times in test &lt;realtime/message implicit_client_id_0&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message implicit_client_id_0> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_0" time="0.246" classname="explicit_client_id_0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_0" time="0.246" classname="explicit_client_id_0">
      <failure message="done() called multiple times in test &lt;realtime/message explicit_client_id_0&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message explicit_client_id_0> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_binary_transport" time="0.040" classname="publish_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/message publish_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publish_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_text_transport" time="0.229" classname="publish_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/message publish_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publish_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_1" time="0.700" classname="explicit_client_id_1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribe_with_event_array" time="0.200" classname="subscribe_with_event_array">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_1" time="0.700" classname="explicit_client_id_1">
      <failure message="done() called multiple times in test &lt;realtime/message explicit_client_id_1&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message explicit_client_id_1> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribe_with_event_array" time="0.200" classname="subscribe_with_event_array">
      <failure message="done() called multiple times in test &lt;realtime/message subscribe_with_event_array&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message subscribe_with_event_array> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribe_with_filter_object" time="0.451" classname="subscribe_with_filter_object">
    </testcase>
    <testcase name="realtime/message publishVariations" time="0.026" classname="publishVariations">
      <failure message="done() called multiple times in test &lt;realtime/message publishVariations&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message publishVariations> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message unsubscribe_with_filter_object" time="0.455" classname="unsubscribe_with_filter_object">
    </testcase>
    <testcase name="realtime/message extras_field" time="0.004" classname="extras_field">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message maxMessageSize" time="0.319" classname="maxMessageSize">
    </testcase>
    <testcase name="realtime/message extras_field" time="0.004" classname="extras_field">
      <failure message="done() called multiple times in test &lt;realtime/message extras_field&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message extras_field> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message idempotentRealtimePublishing" time="0.458" classname="idempotentRealtimePublishing">
    </testcase>
    <testcase name="realtime/message subscribes to filtered channel" time="0.529" classname="subscribes to filtered channel">
    </testcase>
  </testsuite>
  <testsuite name="realtime/presence" timestamp="2024-02-26T13:38:08" tests="35" file="/home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" time="9.941" failures="52">
    <testcase name="realtime/presence presenceEnterWithoutAttach" time="0.770" classname="presenceEnterWithoutAttach">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithoutConnect" time="0.163" classname="presenceEnterWithoutConnect">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/message restpublish" time="0.225" classname="restpublish">
      <failure message="done() called multiple times in test &lt;realtime/message restpublish&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message restpublish> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure invalid_cred_failure" time="0.001" classname="invalid_cred_failure">
      <failure message="done() called multiple times in test &lt;realtime/failure invalid_cred_failure&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js; in addition, done() received error: Error: connection state for transports comet should be failed, not disconnected
    at Object.&lt;anonymous&gt; (/home/runner/work/ably-js/ably-js/test/realtime/failure.test.js:52:17)
    at callListener (/home/runner/work/ably-js/ably-js/build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (&lt;anonymous&gt;)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (/home/runner/work/ably-js/ably-js/build/ably-node.js:9541:13)
    at Connection.emit (/home/runner/work/ably-js/ably-js/build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/failure invalid_cred_failure> of file /home/runner/work/ably-js/ably-js/test/realtime/failure.test.js; in addition, done() received error: Error: connection state for transports comet should be failed, not disconnected
    at Object.<anonymous> (test/realtime/failure.test.js:52:17)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithoutConnect" time="0.163" classname="presenceEnterWithoutConnect">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterWithoutConnect&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterWithoutConnect> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithCallback" time="0.739" classname="presenceEnterWithCallback">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithCallback" time="0.739" classname="presenceEnterWithCallback">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterWithCallback&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterWithCallback> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithNothing" time="0.259" classname="presenceEnterWithNothing">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithData" time="0.190" classname="presenceEnterWithData">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceMessageAction" time="0.087" classname="presenceMessageAction">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithNothing" time="0.259" classname="presenceEnterWithNothing">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterWithNothing&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterWithNothing> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceMessageAction" time="0.087" classname="presenceMessageAction">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceMessageAction&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceMessageAction> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceMessageExtras" time="0.423" classname="presenceMessageExtras">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterDetachEnter" time="0.003" classname="presenceEnterDetachEnter">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithData" time="0.190" classname="presenceEnterWithData">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterWithData&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterWithData> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceMessageExtras" time="0.423" classname="presenceMessageExtras">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceMessageExtras&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceMessageExtras> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterInvalid" time="0.379" classname="presenceEnterInvalid">
    </testcase>
    <testcase name="realtime/presence presenceEnterAndLeave" time="0.606" classname="presenceEnterAndLeave">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterUpdate" time="0.075" classname="presenceEnterUpdate">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterAndLeave" time="0.606" classname="presenceEnterAndLeave">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterAndLeave&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterAndLeave> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterDetachEnter" time="0.003" classname="presenceEnterDetachEnter">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterDetachEnter&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterDetachEnter> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterGet" time="0.497" classname="presenceEnterGet">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSubscribeUnattached" time="0.086" classname="presenceSubscribeUnattached">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceGetUnattached" time="0.123" classname="presenceGetUnattached">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterGet" time="0.497" classname="presenceEnterGet">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterGet&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterGet> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterUpdate" time="0.075" classname="presenceEnterUpdate">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterUpdate&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterUpdate> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSubscribeUnattached" time="0.086" classname="presenceSubscribeUnattached">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceSubscribeUnattached&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceSubscribeUnattached> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterLeaveGet" time="0.570" classname="presenceEnterLeaveGet">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceGetUnattached" time="0.123" classname="presenceGetUnattached">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceGetUnattached&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceGetUnattached> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceHistory" time="0.261" classname="presenceHistory">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSecondConnection" time="0.333" classname="presenceSecondConnection">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceTwoMembers" time="0.002" classname="presenceTwoMembers">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterAfterClose" time="0.026" classname="presenceEnterAfterClose">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterClosed" time="0.065" classname="presenceEnterClosed">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceClientIdIsImplicit" time="0.048" classname="presenceClientIdIsImplicit">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterLeaveGet" time="0.570" classname="presenceEnterLeaveGet">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterLeaveGet&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterLeaveGet> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEncoding" time="0.135" classname="presenceEncoding">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterClosed" time="0.065" classname="presenceEnterClosed">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterClosed&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterClosed> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js:1143:13
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:73:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSecondConnection" time="0.333" classname="presenceSecondConnection">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceSecondConnection&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceSecondConnection> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_inherited_clientid" time="0.176" classname="presence_enter_inherited_clientid">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceTwoMembers" time="0.002" classname="presenceTwoMembers">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceTwoMembers&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceTwoMembers> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceHistory" time="0.261" classname="presenceHistory">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceHistory&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceHistory> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_before_know_clientid" time="0.315" classname="presence_enter_before_know_clientid">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_refresh_on_detach" time="0.339" classname="presence_refresh_on_detach">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_inherited_clientid" time="0.176" classname="presence_enter_inherited_clientid">
      <failure message="done() called multiple times in test &lt;realtime/presence presence_enter_inherited_clientid&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presence_enter_inherited_clientid> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceClientIdIsImplicit" time="0.048" classname="presenceClientIdIsImplicit">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceClientIdIsImplicit&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceClientIdIsImplicit> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterAfterClose" time="0.026" classname="presenceEnterAfterClose">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterAfterClose&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterAfterClose> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_before_know_clientid" time="0.315" classname="presence_enter_before_know_clientid">
      <failure message="done() called multiple times in test &lt;realtime/presence presence_enter_before_know_clientid&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presence_enter_before_know_clientid> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_detach_during_sync" time="0.586" classname="presence_detach_during_sync">
    </testcase>
    <testcase name="realtime/presence presence_refresh_on_detach" time="0.339" classname="presence_refresh_on_detach">
      <failure message="done() called multiple times in test &lt;realtime/presence presence_refresh_on_detach&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presence_refresh_on_detach> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_auto_reenter" time="0.250" classname="presence_auto_reenter">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence multiple_pending" time="0.464" classname="multiple_pending">
    </testcase>
    <testcase name="realtime/presence leave_published_for_member_missing_from_sync" time="0.001" classname="leave_published_for_member_missing_from_sync">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_auto_reenter" time="0.250" classname="presence_auto_reenter">
      <failure message="done() called multiple times in test &lt;realtime/presence presence_auto_reenter&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presence_auto_reenter> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence leave_published_for_members_on_presenceless_attached" time="0.463" classname="leave_published_for_members_on_presenceless_attached">
    </testcase>
    <testcase name="realtime/presence suspended_preserves_presence" time="0.357" classname="suspended_preserves_presence">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_many_updates" time="1.010" classname="presence_many_updates">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/reauth" timestamp="2024-02-26T13:38:18" tests="24" file="/home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" time="8.414" failures="28">
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport" time="0.267" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport" time="0.122" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_comet_binary_transport" time="0.063" classname="reauthCapabilityUpgradeNewChannel_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_comet_text_transport" time="0.027" classname="reauthCapabilityUpgradeNewChannel_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence suspended_preserves_presence" time="0.357" classname="suspended_preserves_presence">
      <failure message="done() called multiple times in test &lt;realtime/presence suspended_preserves_presence&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence suspended_preserves_presence> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_binary_transport" time="0.230" classname="reauthCapabilityUpgradeNewChannel_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_text_transport" time="0.057" classname="reauthCapabilityUpgradeNewChannel_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport" time="0.267" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js:196:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:1209:30
    at Object.<anonymous> (test/realtime/reauth.test.js:40:11)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport" time="0.122" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js:196:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:1209:30
    at Object.<anonymous> (test/realtime/reauth.test.js:40:11)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport" time="0.584" classname="reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport" time="0.364" classname="reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_comet_binary_transport" time="0.013" classname="reauthCapabilityDowngradeFullChannel_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport" time="0.364" classname="reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js:196:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:1209:30
    at Object.<anonymous> (test/realtime/reauth.test.js:40:11)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_comet_text_transport" time="0.562" classname="reauthCapabilityDowngradeFullChannel_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_binary_transport" time="0.137" classname="reauthCapabilityDowngradeFullChannel_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_text_transport" time="0.007" classname="reauthCapabilityDowngradeFullChannel_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_binary_transport" time="0.645" classname="reauthCapabilityUpgradeAddPublish_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport" time="0.140" classname="reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_comet_binary_transport" time="0.266" classname="reauthCapabilityUpgradeAddPublish_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport" time="0.140" classname="reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js:196:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:1209:30
    at Object.<anonymous> (test/realtime/reauth.test.js:40:11)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_comet_text_transport" time="0.289" classname="reauthCapabilityUpgradeAddPublish_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_many_updates" time="1.010" classname="presence_many_updates">
      <failure message="done() called multiple times in test &lt;realtime/presence presence_many_updates&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presence_many_updates> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_binary_transport" time="1.097" classname="reauthCapabilityUpgradeAddPublish_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_text_transport" time="0.587" classname="reauthCapabilityUpgradeAddPublish_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_binary_transport" time="0.645" classname="reauthCapabilityDowngradePublish_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport" time="0.097" classname="reauthCapabilityDowngradePublish_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport" time="0.097" classname="reauthCapabilityDowngradePublish_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js:196:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:1209:30
    at Object.<anonymous> (test/realtime/reauth.test.js:40:11)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at Connection.emit (build/ably-node.js:9011:15)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:2623:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_comet_binary_transport" time="1.062" classname="reauthCapabilityDowngradePublish_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_comet_text_transport" time="0.045" classname="reauthCapabilityDowngradePublish_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_binary_transport" time="0.261" classname="reauthCapabilityDowngradePublish_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_text_transport" time="0.834" classname="reauthCapabilityDowngradePublish_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/resume" timestamp="2024-02-26T13:38:27" tests="25" file="/home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" time="4.499" failures="28">
    <testcase name="realtime/resume resume_inactive_with_web_socket_binary_transport" time="0.077" classname="resume_inactive_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_text_transport" time="0.045" classname="resume_inactive_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_comet_binary_transport" time="0.000" classname="resume_inactive_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_comet_text_transport" time="0.000" classname="resume_inactive_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_binary_transport" time="1.313" classname="resume_active_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_text_transport" time="0.096" classname="resume_active_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_comet_binary_transport" time="0.000" classname="resume_active_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_comet_text_transport" time="0.001" classname="resume_active_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_web_socket_binary_transport" time="0.212" classname="resume_lost_continuity_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_web_socket_binary_transport" time="0.212" classname="resume_lost_continuity_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_lost_continuity_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_lost_continuity_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_web_socket_text_transport" time="0.643" classname="resume_lost_continuity_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_comet_binary_transport" time="0.001" classname="resume_lost_continuity_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_comet_text_transport" time="0.000" classname="resume_lost_continuity_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_binary_transport" time="0.337" classname="resume_token_error_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_text_transport" time="0.063" classname="resume_token_error_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_comet_binary_transport" time="0.490" classname="resume_token_error_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_comet_text_transport" time="0.261" classname="resume_token_error_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_binary_transport" time="0.073" classname="resume_fatal_error_with_web_socket_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_text_transport" time="0.184" classname="resume_fatal_error_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processTimers (node:internal/timers:511:9)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_comet_binary_transport" time="0.001" classname="resume_fatal_error_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_comet_text_transport" time="0.000" classname="resume_fatal_error_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume channel_resumed_flag" time="0.018" classname="channel_resumed_flag">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume no_resume_once_suspended" time="0.231" classname="no_resume_once_suspended">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_binary_transport" time="0.073" classname="resume_fatal_error_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_fatal_error_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_fatal_error_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume no_resume_once_suspended" time="0.231" classname="no_resume_once_suspended">
      <failure message="done() called multiple times in test &lt;realtime/resume no_resume_once_suspended&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume no_resume_once_suspended> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_text_transport" time="0.184" classname="resume_fatal_error_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_fatal_error_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_fatal_error_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:102:9
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_binary_transport" time="0.337" classname="resume_token_error_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_token_error_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_token_error_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume no_resume_last_activity" time="0.257" classname="no_resume_last_activity">
    </testcase>
    <testcase name="realtime/resume resume_rewind_1" time="0.095" classname="resume_rewind_1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume recover multiple channels" time="0.099" classname="recover multiple channels">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/sync" timestamp="2024-02-26T13:38:31" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/sync.test.js" time="0.137" failures="3">
    <testcase name="realtime/sync sync_existing_set" time="0.001" classname="sync_existing_set">
    </testcase>
    <testcase name="realtime/sync sync_member_arrives_in_middle" time="0.000" classname="sync_member_arrives_in_middle">
    </testcase>
    <testcase name="realtime/sync sync_member_arrives_normally_after_came_in_sync" time="0.001" classname="sync_member_arrives_normally_after_came_in_sync">
    </testcase>
    <testcase name="realtime/sync sync_member_arrives_normally_before_comes_in_sync" time="0.001" classname="sync_member_arrives_normally_before_comes_in_sync">
    </testcase>
    <testcase name="realtime/sync presence_ordering" time="0.001" classname="presence_ordering">
    </testcase>
    <testcase name="realtime/resume channel_resumed_flag" time="0.018" classname="channel_resumed_flag">
      <failure message="done() called multiple times in test &lt;realtime/resume channel_resumed_flag&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume channel_resumed_flag> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_text_transport" time="0.063" classname="resume_token_error_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_token_error_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_token_error_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/sync presence_sync_interruptus" time="0.131" classname="presence_sync_interruptus">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/upgrade" timestamp="2024-02-26T13:38:31" tests="14" file="/home/runner/work/ably-js/ably-js/test/realtime/upgrade.test.js" time="0.011" failures="14">
    <testcase name="realtime/upgrade publishpreupgrade" time="0.001" classname="publishpreupgrade">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade publishpostupgrade0" time="0.000" classname="publishpostupgrade0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade publishpostupgrade1" time="0.000" classname="publishpostupgrade1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradepublish0" time="0.001" classname="upgradepublish0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradepublish1" time="0.000" classname="upgradepublish1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradebase0" time="0.000" classname="upgradebase0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat0" time="0.000" classname="upgradeheartbeat0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat1" time="0.000" classname="upgradeheartbeat1">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat2" time="0.001" classname="upgradeheartbeat2">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat3" time="0.000" classname="upgradeheartbeat3">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade unrecoverableUpgrade" time="0.001" classname="unrecoverableUpgrade">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade message_timeout_stalling_upgrade" time="0.000" classname="message_timeout_stalling_upgrade">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade persist_transport_prefs" time="0.000" classname="persist_transport_prefs">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgrade_original_transport_dies" time="0.001" classname="upgrade_original_transport_dies">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="incremental backoff and jitter" timestamp="2024-02-26T13:38:31" tests="1" file="/home/runner/work/ably-js/ably-js/test/realtime/utils.test.js" time="0.003" failures="0">
    <testcase name="incremental backoff and jitter should calculate retry timeouts using incremental backoff and jitter" time="0.001" classname="should calculate retry timeouts using incremental backoff and jitter">
    </testcase>
  </testsuite>
  <testsuite name="rest/api" timestamp="2024-02-26T13:38:31" tests="4" file="/home/runner/work/ably-js/ably-js/test/rest/api.test.js" time="0.001" failures="0">
    <testcase name="rest/api Client constructors" time="0.001" classname="Client constructors">
    </testcase>
    <testcase name="rest/api Crypto" time="0.000" classname="Crypto">
    </testcase>
    <testcase name="rest/api Message" time="0.000" classname="Message">
    </testcase>
    <testcase name="rest/api PresenceMessage" time="0.000" classname="PresenceMessage">
    </testcase>
  </testsuite>
  <testsuite name="rest/auth" timestamp="2024-02-26T13:38:31" tests="32" file="/home/runner/work/ably-js/ably-js/test/rest/auth.test.js" time="4.045" failures="30">
    <testcase name="rest/auth Base token generation case" time="0.049" classname="Base token generation case">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Base token generation case" time="0.049" classname="Base token generation case">
      <failure message="done() called multiple times in test &lt;rest/auth Base token generation case&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Base token generation case> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Base token generation with options" time="0.249" classname="Base token generation with options">
    </testcase>
    <testcase name="rest/auth Generate token and init library with it" time="0.057" classname="Generate token and init library with it">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Generate token and init library with it" time="0.057" classname="Generate token and init library with it">
      <failure message="done() called multiple times in test &lt;rest/auth Generate token and init library with it&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Generate token and init library with it> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with explicit timestamp" time="0.089" classname="Token generation with explicit timestamp">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with invalid timestamp" time="0.064" classname="Token generation with invalid timestamp">
    </testcase>
    <testcase name="rest/auth Token generation with system timestamp" time="0.059" classname="Token generation with system timestamp">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with system timestamp" time="0.059" classname="Token generation with system timestamp">
      <failure message="done() called multiple times in test &lt;rest/auth Token generation with system timestamp&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Token generation with system timestamp> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with explicit timestamp" time="0.089" classname="Token generation with explicit timestamp">
      <failure message="done() called multiple times in test &lt;rest/auth Token generation with explicit timestamp&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Token generation with explicit timestamp> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with duplicate nonce" time="0.200" classname="Token generation with duplicate nonce">
    </testcase>
    <testcase name="rest/auth Token generation with clientId" time="0.066" classname="Token generation with clientId">
    </testcase>
    <testcase name="rest/auth Token generation with empty string clientId should error" time="0.001" classname="Token generation with empty string clientId should error">
    </testcase>
    <testcase name="realtime/sync presence_sync_interruptus" time="0.131" classname="presence_sync_interruptus">
      <failure message="done() called multiple times in test &lt;realtime/sync presence_sync_interruptus&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/sync.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/sync presence_sync_interruptus> of file /home/runner/work/ably-js/ably-js/test/realtime/sync.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with capability that subsets key capability" time="0.066" classname="Token generation with capability that subsets key capability">
    </testcase>
    <testcase name="realtime/resume recover multiple channels" time="0.099" classname="recover multiple channels">
      <failure message="done() called multiple times in test &lt;realtime/resume recover multiple channels&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume recover multiple channels> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with specified key" time="0.268" classname="Token generation with specified key">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth" time="0.065" classname="Token generation with explicit auth">
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth, different key" time="0.020" classname="Token generation with explicit auth, different key">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with invalid mac" time="0.068" classname="Token generation with invalid mac">
    </testcase>
    <testcase name="rest/auth Token generation with defaultTokenParams set and no tokenParams passed in" time="0.067" classname="Token generation with defaultTokenParams set and no tokenParams passed in">
    </testcase>
    <testcase name="rest/auth Token generation with specified key" time="0.268" classname="Token generation with specified key">
      <failure message="done() called multiple times in test &lt;rest/auth Token generation with specified key&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Token generation with specified key> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged" time="0.032" classname="Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Authorize with different args" time="0.033" classname="Authorize with different args">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged" time="0.032" classname="Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged">
      <failure message="done() called multiple times in test &lt;rest/auth Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Specify non-default ttl" time="0.014" classname="Specify non-default ttl">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Authorize with different args" time="0.033" classname="Authorize with different args">
      <failure message="done() called multiple times in test &lt;rest/auth Authorize with different args&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Authorize with different args> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Specify non-default ttl" time="0.014" classname="Specify non-default ttl">
      <failure message="done() called multiple times in test &lt;rest/auth Specify non-default ttl&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Specify non-default ttl> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth, different key" time="0.020" classname="Token generation with explicit auth, different key">
      <failure message="done() called multiple times in test &lt;rest/auth Token generation with explicit auth, different key&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Token generation with explicit auth, different key> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Should error with excessive ttl" time="0.157" classname="Should error with excessive ttl">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Should error with negative ttl" time="0.005" classname="Should error with negative ttl">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Should error with invalid ttl" time="0.008" classname="Should error with invalid ttl">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth createTokenRequest without authOptions" time="0.000" classname="createTokenRequest without authOptions">
    </testcase>
    <testcase name="rest/auth createTokenRequest uses the key it was initialized with if authOptions does not have a &quot;key&quot; key" time="0.000" classname="createTokenRequest uses the key it was initialized with if authOptions does not have a &quot;key&quot; key">
    </testcase>
    <testcase name="rest/auth createTokenRequest should serialise capability object as JSON" time="0.001" classname="createTokenRequest should serialise capability object as JSON">
    </testcase>
    <testcase name="rest/auth Should error with negative ttl" time="0.005" classname="Should error with negative ttl">
      <failure message="done() called multiple times in test &lt;rest/auth Should error with negative ttl&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Should error with negative ttl> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Should error with invalid ttl" time="0.008" classname="Should error with invalid ttl">
      <failure message="done() called multiple times in test &lt;rest/auth Should error with invalid ttl&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Should error with invalid ttl> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Should error with excessive ttl" time="0.157" classname="Should error with excessive ttl">
      <failure message="done() called multiple times in test &lt;rest/auth Should error with excessive ttl&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Should error with excessive ttl> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Basic rest JWT" time="0.281" classname="Basic rest JWT">
    </testcase>
    <testcase name="rest/auth Rest JWT with return type " time="0.191" classname="Rest JWT with return type ">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Rest JWT with return type " time="0.191" classname="Rest JWT with return type ">
      <failure message="done() called multiple times in test &lt;rest/auth Rest JWT with return type &gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Rest JWT with return type > of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth Rest embedded JWT" time="0.288" classname="Rest embedded JWT">
    </testcase>
    <testcase name="rest/auth Rest embedded JWT with encryption" time="0.025" classname="Rest embedded JWT with encryption">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/auth Rest embedded JWT with encryption" time="0.025" classname="Rest embedded JWT with encryption">
      <failure message="done() called multiple times in test &lt;rest/auth Rest embedded JWT with encryption&gt; of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/auth Rest embedded JWT with encryption> of file /home/runner/work/ably-js/ably-js/test/rest/auth.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/auth JWT request with invalid key" time="0.477" classname="JWT request with invalid key">
    </testcase>
    <testcase name="rest/auth Rest JWT with authCallback" time="0.280" classname="Rest JWT with authCallback">
    </testcase>
    <testcase name="rest/auth Rest JWT with authCallback and invalid keys" time="0.568" classname="Rest JWT with authCallback and invalid keys">
    </testcase>
    <testcase name="rest/auth authCallback is only invoked once on concurrent auth" time="0.212" classname="authCallback is only invoked once on concurrent auth">
    </testcase>
  </testsuite>
  <testsuite name="rest/batchPublish" timestamp="2024-02-26T13:38:35" tests="0" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.000" failures="0">
  </testsuite>
  <testsuite name="when invoked with an array of specs" timestamp="2024-02-26T13:38:35" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.151" failures="0">
    <testcase name="rest/batchPublish when invoked with an array of specs performs a batch publish and returns an array of results" time="0.150" classname="performs a batch publish and returns an array of results">
    </testcase>
  </testsuite>
  <testsuite name="when invoked with a single spec" timestamp="2024-02-26T13:38:36" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.145" failures="0">
    <testcase name="rest/batchPublish when invoked with a single spec performs a batch publish and returns a single result" time="0.145" classname="performs a batch publish and returns a single result">
    </testcase>
  </testsuite>
  <testsuite name="rest/batchPresence" timestamp="2024-02-26T13:38:36" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.025" failures="1">
    <testcase name="rest/batchPresence performs a batch presence fetch and returns a result" time="0.025" classname="performs a batch presence fetch and returns a result">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="rest/revokeTokens" timestamp="2024-02-26T13:38:36" tests="3" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.323" failures="1">
    <testcase name="rest/revokeTokens revokes tokens matching the given specifiers" time="0.091" classname="revokes tokens matching the given specifiers">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/revokeTokens accepts optional issuedBefore and allowReauthMargin parameters" time="0.231" classname="accepts optional issuedBefore and allowReauthMargin parameters">
    </testcase>
    <testcase name="rest/revokeTokens throws an error when using token auth" time="0.001" classname="throws an error when using token auth">
    </testcase>
  </testsuite>
  <testsuite name="rest/bufferutils" timestamp="2024-02-26T13:38:36" tests="2" file="/home/runner/work/ably-js/ably-js/test/rest/bufferutils.test.js" time="0.000" failures="0">
    <testcase name="rest/bufferutils Basic encoding and decoding" time="0.000" classname="Basic encoding and decoding">
    </testcase>
    <testcase name="rest/bufferutils BufferUtils return correct types" time="0.000" classname="BufferUtils return correct types">
    </testcase>
  </testsuite>
  <testsuite name="rest/capability" timestamp="2024-02-26T13:38:36" tests="14" file="/home/runner/work/ably-js/ably-js/test/rest/capability.test.js" time="1.343" failures="4">
    <testcase name="rest/revokeTokens revokes tokens matching the given specifiers" time="0.091" classname="revokes tokens matching the given specifiers">
      <failure message="done() called multiple times in test &lt;rest/revokeTokens revokes tokens matching the given specifiers&gt; of file /home/runner/work/ably-js/ably-js/test/rest/batch.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/revokeTokens revokes tokens matching the given specifiers> of file /home/runner/work/ably-js/ably-js/test/rest/batch.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/capability Blanket intersection with specified key" time="0.139" classname="Blanket intersection with specified key">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/capability Blanket intersection with specified key" time="0.139" classname="Blanket intersection with specified key">
      <failure message="done() called multiple times in test &lt;rest/capability Blanket intersection with specified key&gt; of file /home/runner/work/ably-js/ably-js/test/rest/capability.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/capability Blanket intersection with specified key> of file /home/runner/work/ably-js/ably-js/test/rest/capability.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/capability Equal intersection with specified key" time="0.309" classname="Equal intersection with specified key">
    </testcase>
    <testcase name="rest/capability Empty ops intersection" time="0.065" classname="Empty ops intersection">
    </testcase>
    <testcase name="rest/capability Empty paths intersection" time="0.069" classname="Empty paths intersection">
    </testcase>
    <testcase name="rest/batchPresence performs a batch presence fetch and returns a result" time="0.025" classname="performs a batch presence fetch and returns a result">
      <failure message="done() called multiple times in test &lt;rest/batchPresence performs a batch presence fetch and returns a result&gt; of file /home/runner/work/ably-js/ably-js/test/rest/batch.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/batchPresence performs a batch presence fetch and returns a result> of file /home/runner/work/ably-js/ably-js/test/rest/batch.test.js]]></failure>
    </testcase>
    <testcase name="rest/capability Ops intersection non-empty" time="0.073" classname="Ops intersection non-empty">
    </testcase>
    <testcase name="rest/capability Paths intersection non-empty" time="0.066" classname="Paths intersection non-empty">
    </testcase>
    <testcase name="rest/capability Wildcard token with publish and subscribe key" time="0.076" classname="Wildcard token with publish and subscribe key">
    </testcase>
    <testcase name="rest/capability Publish and subscribe token with wildcard key" time="0.066" classname="Publish and subscribe token with wildcard key">
    </testcase>
    <testcase name="rest/capability Resources wildcard matching 1" time="0.069" classname="Resources wildcard matching 1">
    </testcase>
    <testcase name="rest/capability Resources wildcard matching 2" time="0.066" classname="Resources wildcard matching 2">
    </testcase>
    <testcase name="rest/capability Resources wildcard matching 3" time="0.078" classname="Resources wildcard matching 3">
    </testcase>
    <testcase name="rest/capability Invalid capabilities 1" time="0.066" classname="Invalid capabilities 1">
    </testcase>
    <testcase name="rest/capability Invalid capabilities 2" time="0.066" classname="Invalid capabilities 2">
    </testcase>
    <testcase name="rest/capability Invalid capabilities 3" time="0.067" classname="Invalid capabilities 3">
    </testcase>
  </testsuite>
  <testsuite name="rest/defaults" timestamp="2024-02-26T13:38:37" tests="8" file="/home/runner/work/ably-js/ably-js/test/rest/defaults.test.js" time="0.000" failures="0">
    <testcase name="rest/defaults Init with no endpoint-related options" time="0.000" classname="Init with no endpoint-related options">
    </testcase>
    <testcase name="rest/defaults Init with production environment" time="0.001" classname="Init with production environment">
    </testcase>
    <testcase name="rest/defaults Init with given environment" time="0.000" classname="Init with given environment">
    </testcase>
    <testcase name="rest/defaults Init with local environment and non-default ports" time="0.000" classname="Init with local environment and non-default ports">
    </testcase>
    <testcase name="rest/defaults Init with given host" time="0.001" classname="Init with given host">
    </testcase>
    <testcase name="rest/defaults Init with given restHost and realtimeHost" time="0.000" classname="Init with given restHost and realtimeHost">
    </testcase>
    <testcase name="rest/defaults Init with no endpoint-related options and given default environment" time="0.000" classname="Init with no endpoint-related options and given default environment">
    </testcase>
    <testcase name="rest/defaults closeOnUnload" time="0.000" classname="closeOnUnload">
    </testcase>
  </testsuite>
  <testsuite name="normaliseOptions with useBinaryProtocol == true" timestamp="2024-02-26T13:38:37" tests="0" file="/home/runner/work/ably-js/ably-js/test/rest/defaults.test.js" time="0.000" failures="0">
  </testsuite>
  <testsuite name="given MsgPack implementation" timestamp="2024-02-26T13:38:37" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/defaults.test.js" time="0.000" failures="0">
    <testcase name="rest/defaults normaliseOptions with useBinaryProtocol == true given MsgPack implementation maintains useBinaryProtocol as true" time="0.000" classname="maintains useBinaryProtocol as true">
    </testcase>
  </testsuite>
  <testsuite name="given no MsgPack implementation" timestamp="2024-02-26T13:38:37" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/defaults.test.js" time="0.000" failures="0">
    <testcase name="rest/defaults normaliseOptions with useBinaryProtocol == true given no MsgPack implementation changes useBinaryProtocol to false" time="0.000" classname="changes useBinaryProtocol to false">
    </testcase>
  </testsuite>
  <testsuite name="rest/fallbacks" timestamp="2024-02-26T13:38:37" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/fallbacks.test.js" time="0.046" failures="1">
    <testcase name="rest/fallbacks Store working fallback" time="0.045" classname="Store working fallback">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="rest/history" timestamp="2024-02-26T13:38:37" tests="13" file="/home/runner/work/ably-js/ably-js/test/rest/history.test.js" time="5.376" failures="21">
    <testcase name="rest/history history_simple with binary protocol" time="1.075" classname="history_simple with binary protocol">
    </testcase>
    <testcase name="rest/history history_simple with text protocol" time="0.159" classname="history_simple with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_rewind_1" time="0.095" classname="resume_rewind_1">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_rewind_1&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_rewind_1> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_binary_transport" time="1.313" classname="resume_active_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_active_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_active_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple with binary protocol" time="0.483" classname="history_multiple with binary protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_text_transport" time="0.045" classname="resume_inactive_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_inactive_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_inactive_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/history history_simple with text protocol" time="0.159" classname="history_simple with text protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_simple with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_simple with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_binary_transport" time="0.077" classname="resume_inactive_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_inactive_with_web_socket_binary_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_inactive_with_web_socket_binary_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple with binary protocol" time="0.483" classname="history_multiple with binary protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_multiple with binary protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_multiple with binary protocol> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple with text protocol" time="0.616" classname="history_multiple with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/history history_simple_paginated_b with binary protocol" time="0.012" classname="history_simple_paginated_b with binary protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_text_transport" time="0.096" classname="resume_active_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/resume resume_active_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume resume_active_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at exports.arrForEach.Array.forEach.len [as arrForEach] (build/ably-node.js:9541:13)
    at WebSocketTransport.emit (build/ably-node.js:9011:15)
    at WebSocketTransport.onWsClose (build/ably-node.js:7576:14)
    at wsConnection.onclose (build/ably-node.js:7500:26)
    at callListener (node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onClose (node_modules/ws/lib/event-target.js:220:9)
    at WebSocket.emit (node:events:518:28)
    at WebSocket.emitClose (node_modules/ws/lib/websocket.js:265:10)
    at TLSSocket.socketOnClose (node_modules/ws/lib/websocket.js:1289:15)
    at TLSSocket.emit (node:events:530:35)
    at node:net:337:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple with text protocol" time="0.616" classname="history_multiple with text protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_multiple with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_multiple with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_simple_paginated_b with text protocol" time="0.930" classname="history_simple_paginated_b with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/history history_simple_paginated_f" time="0.392" classname="history_simple_paginated_f">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple_paginated_b" time="0.128" classname="history_multiple_paginated_b">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple_paginated_f" time="0.054" classname="history_multiple_paginated_f">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/history history_encoding_errors with binary protocol" time="0.157" classname="history_encoding_errors with binary protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/history history_simple_paginated_b with text protocol" time="0.930" classname="history_simple_paginated_b with text protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_simple_paginated_b with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_simple_paginated_b with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_simple_paginated_b with binary protocol" time="0.012" classname="history_simple_paginated_b with binary protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_simple_paginated_b with binary protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_simple_paginated_b with binary protocol> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_encoding_errors with binary protocol" time="0.157" classname="history_encoding_errors with binary protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_encoding_errors with binary protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_encoding_errors with binary protocol> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_encoding_errors with text protocol" time="1.075" classname="history_encoding_errors with text protocol">
    </testcase>
    <testcase name="rest/history history_no_next_page with binary protocol" time="0.146" classname="history_no_next_page with binary protocol">
    </testcase>
    <testcase name="rest/history history_simple_paginated_f" time="0.392" classname="history_simple_paginated_f">
      <failure message="done() called multiple times in test &lt;rest/history history_simple_paginated_f&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_simple_paginated_f> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_no_next_page with text protocol" time="0.145" classname="history_no_next_page with text protocol">
    </testcase>
  </testsuite>
  <testsuite name="rest/http" timestamp="2024-02-26T13:38:43" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/http.test.js" time="0.192" failures="2">
    <testcase name="rest/history history_multiple_paginated_f" time="0.054" classname="history_multiple_paginated_f">
      <failure message="done() called multiple times in test &lt;rest/history history_multiple_paginated_f&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_multiple_paginated_f> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/http Should send X-Ably-Version and Ably-Agent headers in get/post requests" time="0.191" classname="Should send X-Ably-Version and Ably-Agent headers in get/post requests">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="rest/init" timestamp="2024-02-26T13:38:43" tests="6" file="/home/runner/work/ably-js/ably-js/test/rest/init.test.js" time="0.329" failures="2">
    <testcase name="rest/init Init with key string" time="0.001" classname="Init with key string">
    </testcase>
    <testcase name="rest/history history_multiple_paginated_b" time="0.128" classname="history_multiple_paginated_b">
      <failure message="done() called multiple times in test &lt;rest/history history_multiple_paginated_b&gt; of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/history history_multiple_paginated_b> of file /home/runner/work/ably-js/ably-js/test/rest/history.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/http Should send X-Ably-Version and Ably-Agent headers in get/post requests" time="0.191" classname="Should send X-Ably-Version and Ably-Agent headers in get/post requests">
      <failure message="done() called multiple times in test &lt;rest/http Should send X-Ably-Version and Ably-Agent headers in get/post requests&gt; of file /home/runner/work/ably-js/ably-js/test/rest/http.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/http Should send X-Ably-Version and Ably-Agent headers in get/post requests> of file /home/runner/work/ably-js/ably-js/test/rest/http.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/init Init with token string" time="0.327" classname="Init with token string">
    </testcase>
    <testcase name="rest/init Init with tls: false" time="0.000" classname="Init with tls: false">
    </testcase>
    <testcase name="rest/init Init with tls: true" time="0.001" classname="Init with tls: true">
    </testcase>
    <testcase name="rest/init Init without any tls key should enable tls" time="0.000" classname="Init without any tls key should enable tls">
    </testcase>
    <testcase name="rest/init Init with clientId set to &apos;*&apos; or anything other than a string or null should error" time="0.000" classname="Init with clientId set to &apos;*&apos; or anything other than a string or null should error">
    </testcase>
  </testsuite>
  <testsuite name="rest/message" timestamp="2024-02-26T13:38:43" tests="7" file="/home/runner/work/ably-js/ably-js/test/rest/message.test.js" time="1.449" failures="1">
    <testcase name="rest/message Should implicitly send clientId when authenticated with clientId" time="0.147" classname="Should implicitly send clientId when authenticated with clientId">
    </testcase>
    <testcase name="rest/fallbacks Store working fallback" time="0.045" classname="Store working fallback">
      <failure message="done() called multiple times in test &lt;rest/fallbacks Store working fallback&gt; of file /home/runner/work/ably-js/ably-js/test/rest/fallbacks.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/fallbacks Store working fallback> of file /home/runner/work/ably-js/ably-js/test/rest/fallbacks.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/message Should publish clientId when provided explicitly in message" time="0.165" classname="Should publish clientId when provided explicitly in message">
    </testcase>
    <testcase name="rest/message Should error when clientId sent in message is different than authenticated clientId" time="0.278" classname="Should error when clientId sent in message is different than authenticated clientId">
    </testcase>
    <testcase name="rest/message Should error when publishing message larger than maxMessageSize" time="0.000" classname="Should error when publishing message larger than maxMessageSize">
    </testcase>
    <testcase name="rest/message Should send correct IDs when idempotentRestPublishing set to false" time="0.158" classname="Should send correct IDs when idempotentRestPublishing set to false">
    </testcase>
    <testcase name="rest/message Should add IDs when automatic idempotent rest publishing option enabled" time="0.150" classname="Should add IDs when automatic idempotent rest publishing option enabled">
    </testcase>
    <testcase name="rest/message Rest publish params" time="0.551" classname="Rest publish params">
    </testcase>
  </testsuite>
  <testsuite name="rest/presence" timestamp="2024-02-26T13:38:45" tests="4" file="/home/runner/work/ably-js/ably-js/test/rest/presence.test.js" time="0.404" failures="3">
    <testcase name="rest/presence Presence get simple" time="0.229" classname="Presence get simple">
      <failure message="Verify correct number of messages found: expected +0 to equal 6" type="AssertionError"><![CDATA[AssertionError: Verify correct number of messages found: expected +0 to equal 6
    at Context.<anonymous> (test/rest/presence.test.js:40:44)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -0
      +6
      ]]></failure>
    </testcase>
    <testcase name="rest/presence Presence history simple" time="0.102" classname="Presence history simple">
      <failure message="Verify correct number of messages found: expected 12 to equal 6" type="AssertionError"><![CDATA[AssertionError: Verify correct number of messages found: expected 12 to equal 6
    at Context.<anonymous> (test/rest/presence.test.js:40:44)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

      + expected - actual

      -12
      +6
      ]]></failure>
    </testcase>
    <testcase name="rest/presence Presence message JSON serialisation" time="0.069" classname="Presence message JSON serialisation">
      <failure message="&quot;undefined&quot; is not valid JSON" type="SyntaxError"><![CDATA[SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at Context.<anonymous> (test/rest/presence.test.js:77:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/presence Presence get limits and filtering" time="0.000" classname="Presence get limits and filtering">
    </testcase>
  </testsuite>
  <testsuite name="rest/push" timestamp="2024-02-26T13:38:45" tests="9" file="/home/runner/work/ably-js/ably-js/test/rest/push.test.js" time="2.450" failures="7">
    <testcase name="rest/push Get subscriptions" time="0.298" classname="Get subscriptions">
    </testcase>
    <testcase name="rest/push Publish" time="0.326" classname="Publish">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/push Publish" time="0.326" classname="Publish">
      <failure message="done() called multiple times in test &lt;rest/push Publish&gt; of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/push Publish> of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/push deviceRegistrations save" time="0.718" classname="deviceRegistrations save">
    </testcase>
    <testcase name="rest/push deviceRegistrations get and list" time="0.274" classname="deviceRegistrations get and list">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/push deviceRegistrations remove removeWhere" time="0.006" classname="deviceRegistrations remove removeWhere">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/push channelSubscriptions save" time="0.215" classname="channelSubscriptions save">
    </testcase>
    <testcase name="rest/push channelSubscriptions get" time="0.232" classname="channelSubscriptions get">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/push push_channelSubscriptions_remove" time="0.150" classname="push_channelSubscriptions_remove">
    </testcase>
    <testcase name="rest/push channelSubscriptions get" time="0.232" classname="channelSubscriptions get">
      <failure message="done() called multiple times in test &lt;rest/push channelSubscriptions get&gt; of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/push channelSubscriptions get> of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/push deviceRegistrations get and list" time="0.274" classname="deviceRegistrations get and list">
      <failure message="done() called multiple times in test &lt;rest/push deviceRegistrations get and list&gt; of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js; in addition, done() received error: AssertionError: [
  {
    &quot;id&quot;: &quot;testId&quot;,
    &quot;deviceSecret&quot;: &quot;secret-testId&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;clientId&quot;: &quot;testClientId&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      },
      &quot;state&quot;: &quot;ACTIVE&quot;
    }
  },
  {
    &quot;id&quot;: &quot;device5&quot;,
    &quot;deviceSecret&quot;: &quot;secret-device5&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;clientId&quot;: &quot;testClient1&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      },
      &quot;state&quot;: &quot;ACTIVE&quot;
    }
  },
  {
    &quot;id&quot;: &quot;device4&quot;,
    &quot;deviceSecret&quot;: &quot;secret-device4&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;clientId&quot;: &quot;testClient2&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      },
      &quot;state&quot;: &quot;ACTIVE&quot;
    }
  },
  {
    &quot;id&quot;: &quot;device3&quot;,
    &quot;deviceSecret&quot;: &quot;secret-device3&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;clientId&quot;: &quot;testClient1&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      },
      &quot;state&quot;: &quot;ACTIVE&quot;
    }
  },
  {
    &quot;id&quot;: &quot;device2&quot;,
    &quot;deviceSecret&quot;: &quot;secret-device2&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;clientId&quot;: &quot;testClient2&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      },
      &quot;state&quot;: &quot;ACTIVE&quot;
    }
  },
  {
    &quot;id&quot;: &quot;device1&quot;,
    &quot;deviceSecret&quot;: &quot;secret-device1&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;clientId&quot;: &quot;testClient1&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      },
      &quot;state&quot;: &quot;ACTIVE&quot;
    }
  }
] includesUnordered [
  {
    &quot;id&quot;: &quot;device1&quot;,
    &quot;clientId&quot;: &quot;testClient1&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      }
    }
  },
  {
    &quot;id&quot;: &quot;device2&quot;,
    &quot;clientId&quot;: &quot;testClient2&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      }
    }
  },
  {
    &quot;id&quot;: &quot;device3&quot;,
    &quot;clientId&quot;: &quot;testClient1&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      }
    }
  },
  {
    &quot;id&quot;: &quot;device4&quot;,
    &quot;clientId&quot;: &quot;testClient2&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      }
    }
  },
  {
    &quot;id&quot;: &quot;device5&quot;,
    &quot;clientId&quot;: &quot;testClient1&quot;,
    &quot;platform&quot;: &quot;android&quot;,
    &quot;formFactor&quot;: &quot;phone&quot;,
    &quot;push&quot;: {
      &quot;recipient&quot;: {
        &quot;transportType&quot;: &quot;gcm&quot;,
        &quot;registrationToken&quot;: &quot;xxxxxxxxxxx&quot;
      }
    }
  }
] (different length arrays): expected &apos;different length arrays&apos; to equal true
    at testIncludesUnordered (/home/runner/work/ably-js/ably-js/test/rest/push.test.js:376:21)
    at Context.&lt;anonymous&gt; (/home/runner/work/ably-js/ably-js/test/rest/push.test.js:191:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  showDiff: true,
  actual: &apos;different length arrays&apos;,
  expected: true,
  operator: &apos;strictEqual&apos;
}" type="Error"><![CDATA[Error: done() called multiple times in test <rest/push deviceRegistrations get and list> of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js; in addition, done() received error: AssertionError: [
  {
    "id": "testId",
    "deviceSecret": "secret-testId",
    "platform": "android",
    "formFactor": "phone",
    "clientId": "testClientId",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      },
      "state": "ACTIVE"
    }
  },
  {
    "id": "device5",
    "deviceSecret": "secret-device5",
    "platform": "android",
    "formFactor": "phone",
    "clientId": "testClient1",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      },
      "state": "ACTIVE"
    }
  },
  {
    "id": "device4",
    "deviceSecret": "secret-device4",
    "platform": "android",
    "formFactor": "phone",
    "clientId": "testClient2",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      },
      "state": "ACTIVE"
    }
  },
  {
    "id": "device3",
    "deviceSecret": "secret-device3",
    "platform": "android",
    "formFactor": "phone",
    "clientId": "testClient1",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      },
      "state": "ACTIVE"
    }
  },
  {
    "id": "device2",
    "deviceSecret": "secret-device2",
    "platform": "android",
    "formFactor": "phone",
    "clientId": "testClient2",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      },
      "state": "ACTIVE"
    }
  },
  {
    "id": "device1",
    "deviceSecret": "secret-device1",
    "platform": "android",
    "formFactor": "phone",
    "clientId": "testClient1",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      },
      "state": "ACTIVE"
    }
  }
] includesUnordered [
  {
    "id": "device1",
    "clientId": "testClient1",
    "platform": "android",
    "formFactor": "phone",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      }
    }
  },
  {
    "id": "device2",
    "clientId": "testClient2",
    "platform": "android",
    "formFactor": "phone",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      }
    }
  },
  {
    "id": "device3",
    "clientId": "testClient1",
    "platform": "android",
    "formFactor": "phone",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      }
    }
  },
  {
    "id": "device4",
    "clientId": "testClient2",
    "platform": "android",
    "formFactor": "phone",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      }
    }
  },
  {
    "id": "device5",
    "clientId": "testClient1",
    "platform": "android",
    "formFactor": "phone",
    "push": {
      "recipient": {
        "transportType": "gcm",
        "registrationToken": "xxxxxxxxxxx"
      }
    }
  }
] (different length arrays): expected 'different length arrays' to equal true
    at testIncludesUnordered (test/rest/push.test.js:376:21)
    at Context.<anonymous> (test/rest/push.test.js:191:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  showDiff: true,
  actual: 'different length arrays',
  expected: true,
  operator: 'strictEqual'
}
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/push channelSubscriptions listChannels" time="0.228" classname="channelSubscriptions listChannels">
    </testcase>
  </testsuite>
  <testsuite name="rest/request" timestamp="2024-02-26T13:38:48" tests="16" file="/home/runner/work/ably-js/ably-js/test/rest/request.test.js" time="1.468" failures="13">
    <testcase name="rest/request request_version with binary protocol" time="0.000" classname="request_version with binary protocol">
    </testcase>
    <testcase name="rest/request request_version with text protocol" time="0.000" classname="request_version with text protocol">
    </testcase>
    <testcase name="rest/request request_time with binary protocol" time="0.076" classname="request_time with binary protocol">
    </testcase>
    <testcase name="rest/request request_time with text protocol" time="0.065" classname="request_time with text protocol">
    </testcase>
    <testcase name="rest/request request_404 with binary protocol" time="0.078" classname="request_404 with binary protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/request request_404 with text protocol" time="0.217" classname="request_404 with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/request request_network_error" time="0.010" classname="request_network_error">
    </testcase>
    <testcase name="rest/request request_404 with binary protocol" time="0.078" classname="request_404 with binary protocol">
      <failure message="done() called multiple times in test &lt;rest/request request_404 with binary protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/request request_404 with binary protocol> of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/request request_404 with text protocol" time="0.217" classname="request_404 with text protocol">
      <failure message="done() called multiple times in test &lt;rest/request request_404 with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/request request_404 with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/push deviceRegistrations remove removeWhere" time="0.006" classname="deviceRegistrations remove removeWhere">
      <failure message="done() called multiple times in test &lt;rest/push deviceRegistrations remove removeWhere&gt; of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/push deviceRegistrations remove removeWhere> of file /home/runner/work/ably-js/ably-js/test/rest/push.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/request request_post_get_messages with binary protocol" time="0.388" classname="request_post_get_messages with binary protocol">
    </testcase>
    <testcase name="rest/request request_post_get_messages with text protocol" time="0.160" classname="request_post_get_messages with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/request request_batch_api_success with binary protocol" time="0.072" classname="request_batch_api_success with binary protocol">
    </testcase>
    <testcase name="rest/request request_post_get_messages with text protocol" time="0.160" classname="request_post_get_messages with text protocol">
      <failure message="done() called multiple times in test &lt;rest/request request_post_get_messages with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/request request_post_get_messages with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/request request_batch_api_success with text protocol" time="0.242" classname="request_batch_api_success with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/request request_batch_api_success with text protocol" time="0.242" classname="request_batch_api_success with text protocol">
      <failure message="done() called multiple times in test &lt;rest/request request_batch_api_success with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/request request_batch_api_success with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/request checkput" time="0.041" classname="checkput">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/request checkpatch" time="0.025" classname="checkpatch">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/request checkput" time="0.041" classname="checkput">
      <failure message="done() called multiple times in test &lt;rest/request checkput&gt; of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/request checkput> of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/request checkdelete" time="0.087" classname="checkdelete">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="rest/stats" timestamp="2024-02-26T13:38:49" tests="11" file="/home/runner/work/ably-js/ably-js/test/rest/stats.test.js" time="0.119" failures="2">
    <testcase name="rest/request checkpatch" time="0.025" classname="checkpatch">
      <failure message="done() called multiple times in test &lt;rest/request checkpatch&gt; of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/request checkpatch> of file /home/runner/work/ably-js/ably-js/test/rest/request.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/stats &quot;before all&quot; hook for &quot;contains expected fields&quot;" time="0.119" classname="&quot;before all&quot; hook for &quot;contains expected fields&quot;">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="rest/status" timestamp="2024-02-26T13:38:49" tests="2" file="/home/runner/work/ably-js/ably-js/test/rest/status.test.js" time="0.142" failures="2">
    <testcase name="rest/status status0 with binary protocol" time="0.092" classname="status0 with binary protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="rest/status status0 with text protocol" time="0.048" classname="status0 with text protocol">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6416:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="rest/time" timestamp="2024-02-26T13:38:49" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/time.test.js" time="0.170" failures="3">
    <testcase name="rest/status status0 with binary protocol" time="0.092" classname="status0 with binary protocol">
      <failure message="done() called multiple times in test &lt;rest/status status0 with binary protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/status.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/status status0 with binary protocol> of file /home/runner/work/ably-js/ably-js/test/rest/status.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/status status0 with text protocol" time="0.048" classname="status0 with text protocol">
      <failure message="done() called multiple times in test &lt;rest/status status0 with text protocol&gt; of file /home/runner/work/ably-js/ably-js/test/rest/status.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/status status0 with text protocol> of file /home/runner/work/ably-js/ably-js/test/rest/status.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/time time0" time="0.065" classname="time0">
    </testcase>
    <testcase name="&quot;after all&quot; hook in &quot;{root}&quot;" time="0.102" classname="&quot;after all&quot; hook in &quot;{root}&quot;">
      <failure message="Could not tear down Test App: &quot;Invalid HTTP request: {\n\t\&quot;error\&quot;: {\n\t\t\&quot;message\&quot;: \&quot;Account _tmp_gZuvuQ disabled. (See https://help.ably.io/error/40300 for help.)\&quot;,\n\t\t\&quot;code\&quot;: 40300,\n\t\t\&quot;statusCode\&quot;: 403,\n\t\t\&quot;nonfatal\&quot;: false,\n\t\t\&quot;href\&quot;: \&quot;https://help.ably.io/error/40300\&quot;,\n\t\t\&quot;serverId\&quot;: \&quot;frontend.3c6e.2.us-east-1-A.i-012ba42bbb0ff7221.e7dQ24s3ABZ3cR\&quot;\n\t}\n}; statusCode = 403&quot;" type="Error"><![CDATA[Error: Could not tear down Test App: "Invalid HTTP request: {\n\t\"error\": {\n\t\t\"message\": \"Account _tmp_gZuvuQ disabled. (See https://help.ably.io/error/40300 for help.)\",\n\t\t\"code\": 40300,\n\t\t\"statusCode\": 403,\n\t\t\"nonfatal\": false,\n\t\t\"href\": \"https://help.ably.io/error/40300\",\n\t\t\"serverId\": \"frontend.3c6e.2.us-east-1-A.i-012ba42bbb0ff7221.e7dQ24s3ABZ3cR\"\n\t}\n}; statusCode = 403"
    at /home/runner/work/ably-js/ably-js/test/common/modules/testapp_module.js:74:14
    at /home/runner/work/ably-js/ably-js/test/common/modules/testapp_manager.js:222:7
    at IncomingMessage.<anonymous> (test/common/modules/testapp_manager.js:123:15)
    at IncomingMessage.emit (node:events:530:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)]]></failure>
    </testcase>
  </testsuite>
</testsuites>