<testsuites name="Mocha Tests" time="1327.044" tests="594" failures="334" skipped="12">
  <testsuite name="Root Suite" timestamp="2024-02-26T13:21:33" tests="0" time="0.000" failures="0">
  </testsuite>
  <testsuite name="realtime/api" timestamp="2024-02-26T13:21:33" 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:21:33" tests="83" file="/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js" time="1260.485" failures="20">
    <testcase name="realtime/auth authbase0" time="0.034" classname="authbase0">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_json" time="0.510" classname="auth_useAuthUrl_json">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_post_json" time="0.130" classname="auth_useAuthUrl_post_json">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_plainText" time="0.130" classname="auth_useAuthUrl_plainText">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenRequestResponse" time="0.066" classname="auth_useAuthCallback_tokenRequestResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenDetailsResponse" time="0.063" classname="auth_useAuthCallback_tokenDetailsResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenStringResponse" time="0.143" classname="auth_useAuthCallback_tokenStringResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_mixed_authParams_qsParams" time="0.115" classname="auth_useAuthUrl_mixed_authParams_qsParams">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance" time="0.060" classname="auth_clientid_inheritance">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance2" time="0.009" classname="auth_clientid_inheritance2">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance3" time="0.044" classname="auth_clientid_inheritance3">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance4" time="0.068" classname="auth_clientid_inheritance4">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance5" time="0.057" 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.102" 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.001" classname="authCallback_malformed">
    </testcase>
    <testcase name="realtime/auth authCallback_too_long_string" time="0.008" 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.010" classname="authUrl_404">
    </testcase>
    <testcase name="realtime/auth authUrl_wrong_content_type" time="0.005" classname="authUrl_wrong_content_type">
    </testcase>
    <testcase name="realtime/auth authUrl_401" time="0.072" classname="authUrl_401">
    </testcase>
    <testcase name="realtime/auth authUrl_double_encoded" time="0.073" classname="authUrl_double_encoded">
    </testcase>
    <testcase name="realtime/auth authUrl_403" time="0.077" classname="authUrl_403">
    </testcase>
    <testcase name="realtime/auth authUrl_403_custom_error" time="0.074" classname="authUrl_403_custom_error">
    </testcase>
    <testcase name="realtime/auth authUrl_403_previously_active" time="0.196" classname="authUrl_403_previously_active">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_web_socket_binary_transport" time="5.003" classname="auth_token_expires_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_web_socket_text_transport" time="5.003" classname="auth_token_expires_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_comet_binary_transport" time="60.006" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_comet_text_transport" time="60.005" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_binary_transport" time="60.007" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_text_transport" time="60.004" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_query_time_once" time="0.012" classname="auth_query_time_once">
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_web_socket_binary_transport" time="5.053" 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.071" 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.002" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_comet_text_transport" time="60.005" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_binary_transport" time="60.000" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_text_transport" time="60.003" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_web_socket_binary_transport" time="5.061" 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.066" 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.010" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_comet_text_transport" time="60.000" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_binary_transport" time="60.002" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_text_transport" time="59.999" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_web_socket_binary_transport" time="5.005" 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.004" 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.000" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_comet_text_transport" time="60.001" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_binary_transport" time="60.002" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_text_transport" time="60.000" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_web_socket_binary_transport" time="0.174" 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.145" 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.001" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_comet_text_transport" time="60.000" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_binary_transport" time="60.000" 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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_text_transport" time="60.000" 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:569:17)
    at process.processTimers (node:internal/timers:512: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.074" classname="mocked_reauth">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_clientid" time="0.339" classname="auth_jwt_with_clientid">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_clientid_application_jwt" time="0.112" classname="auth_jwt_with_clientid_application_jwt">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_subscribe_only_capability" time="0.129" classname="auth_jwt_with_subscribe_only_capability">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_publish_capability" time="0.122" classname="auth_jwt_with_publish_capability">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_token_that_expires" time="4.227" classname="auth_jwt_with_token_that_expires">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_token_that_renews" time="5.077" classname="auth_jwt_with_token_that_renews">
    </testcase>
    <testcase name="realtime/auth init_client_with_simple_jwt_token" time="0.103" classname="init_client_with_simple_jwt_token">
    </testcase>
    <testcase name="realtime/auth reauth_consistently_expired_token" time="3.113" classname="reauth_consistently_expired_token">
    </testcase>
    <testcase name="realtime/auth expired_token_no_autoremove_when_dont_have_servertime" time="0.137" classname="expired_token_no_autoremove_when_dont_have_servertime">
    </testcase>
    <testcase name="realtime/auth expired_token_autoremove_when_have_servertime" time="0.056" classname="expired_token_autoremove_when_have_servertime">
    </testcase>
    <testcase name="realtime/auth multiple_concurrent_authorize" time="0.166" classname="multiple_concurrent_authorize">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_web_socket_binary_transport" time="0.055" 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.066" 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.054" classname="authorize_immediately_after_init_with_comet_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_comet_text_transport" time="0.046" classname="authorize_immediately_after_init_with_comet_text_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_binary_transport" time="0.109" classname="authorize_immediately_after_init_with_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_text_transport" time="0.052" classname="authorize_immediately_after_init_with_text_transport">
    </testcase>
  </testsuite>
  <testsuite name="realtime/channel" timestamp="2024-02-26T13:42:34" tests="116" file="/home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" time="24.196" failures="62">
    <testcase name="realtime/channel channelinit0_with_web_socket_binary_transport" time="0.057" classname="channelinit0_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelinit0_with_web_socket_text_transport" time="0.033" 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.000" 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.044" classname="channelattach0_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach0_with_web_socket_text_transport" time="0.039" 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.000" 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.076" classname="channelattach2_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach2_with_web_socket_text_transport" time="0.040" 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.000" 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.069" classname="channelattach3_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach3_with_web_socket_text_transport" time="0.042" 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.038" classname="channelattachempty_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_web_socket_text_transport" time="1.037" classname="channelattachempty_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_comet_binary_transport" time="0.001" 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.000" 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.041" classname="channelattachinvalid_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_web_socket_text_transport" time="1.034" 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.000" 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.001" 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.058" classname="publish_no_attach_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_web_socket_text_transport" time="0.039" 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.034" classname="channelattach_publish_invalid_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_web_socket_text_transport" time="0.035" classname="channelattach_publish_invalid_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_comet_binary_transport" time="0.001" 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.000" 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.041" classname="channelattach_invalid_twice_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_web_socket_text_transport" time="1.038" 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.001" 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.000" 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.001" 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.055" classname="channelattachOnceOrIfAfter">
    </testcase>
    <testcase name="realtime/channel channelattachOnceOrIfBefore" time="0.040" classname="channelattachOnceOrIfBefore">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_web_socket_binary_transport" time="1.093" classname="attachWithChannelParamsBasicChannelsGet_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_web_socket_text_transport" time="1.072" 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.108" classname="attachWithChannelParamsBasicSetOptions_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_web_socket_text_transport" time="1.067" classname="attachWithChannelParamsBasicSetOptions_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_comet_binary_transport" time="0.000" 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.001" 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.038" classname="subscribeAfterSetOptions_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_web_socket_text_transport" time="0.039" classname="subscribeAfterSetOptions_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_comet_binary_transport" time="0.001" 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.001" 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.001" 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.049" classname="channelGetShouldThrowWhenWouldCauseReattach">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_web_socket_binary_transport" time="0.048" classname="setOptionsCallbackBehaviour_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_web_socket_text_transport" time="0.048" 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.001" 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.001" 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.128" classname="attachWithChannelParamsModesAndChannelModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_web_socket_text_transport" time="1.099" classname="attachWithChannelParamsModesAndChannelModes_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_comet_binary_transport" time="0.001" 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.000" 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.110" classname="attachWithChannelModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_web_socket_text_transport" time="1.091" classname="attachWithChannelModes_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_comet_binary_transport" time="0.000" 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.000" 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.103" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport" time="0.090" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport">
    </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.048" classname="attachWithInvalidChannelParams">
    </testcase>
    <testcase name="realtime/channel channelsubscribe0" time="1.045" classname="channelsubscribe0">
    </testcase>
    <testcase name="realtime/channel channelsubscribe1" time="1.054" classname="channelsubscribe1">
    </testcase>
    <testcase name="realtime/channel server_sent_detached" time="0.146" classname="server_sent_detached">
    </testcase>
    <testcase name="realtime/channel server_sent_detached_while_attaching" time="0.028" classname="server_sent_detached_while_attaching">
    </testcase>
    <testcase name="realtime/channel server_sent_error" time="0.040" classname="server_sent_error">
    </testcase>
    <testcase name="realtime/channel server_sent_attached_err" time="0.048" classname="server_sent_attached_err">
    </testcase>
    <testcase name="realtime/channel publish_no_queueing" time="0.002" classname="publish_no_queueing">
    </testcase>
    <testcase name="realtime/channel channel_attach_timeout" time="2.110" classname="channel_attach_timeout">
    </testcase>
    <testcase name="realtime/channel suspended_connection" time="3.182" classname="suspended_connection">
    </testcase>
    <testcase name="realtime/channel attached_while_detaching" time="0.047" 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.055" classname="rewind works on channel after reattaching">
    </testcase>
    <testcase name="realtime/channel attach_returns_state_change" time="0.051" classname="attach_returns_state_change">
    </testcase>
    <testcase name="realtime/channel subscribe_returns_state_change" time="0.043" classname="subscribe_returns_state_change">
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_0" time="0.119" classname="rewind_has_backlog_0">
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_1" time="0.042" classname="rewind_has_backlog_1">
    </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:42:58" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/connection.test.js" time="0.250" failures="0">
    <testcase name="realtime/connection connectionPing" time="0.036" classname="connectionPing">
    </testcase>
    <testcase name="realtime/connection connectionPingWithCallback" time="0.033" classname="connectionPingWithCallback">
    </testcase>
    <testcase name="realtime/connection connectionAttributes" time="0.043" classname="connectionAttributes">
    </testcase>
    <testcase name="realtime/connection unrecoverableConnection" time="0.032" classname="unrecoverableConnection">
    </testcase>
    <testcase name="realtime/connection connectionQueuing" time="0.078" classname="connectionQueuing">
    </testcase>
    <testcase name="realtime/connection connectionDetails" time="0.027" classname="connectionDetails">
    </testcase>
  </testsuite>
  <testsuite name="realtime/connectivity" timestamp="2024-02-26T13:42:58" tests="2" file="/home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js" time="0.000" failures="0">
    <testcase name="realtime/connectivity http_connectivity_check" time="0.033" classname="http_connectivity_check">
    </testcase>
    <testcase name="realtime/connectivity disable_connectivity_check" time="0.001" classname="disable_connectivity_check">
    </testcase>
  </testsuite>
  <testsuite name="configured_connectivity_check_url" timestamp="2024-02-26T13:42:58" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js" time="0.372" failures="0">
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with scheme" time="0.073" classname="succeeds with scheme">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with scheme" time="0.073" classname="fails with scheme">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with querystring" time="0.073" classname="succeeds with querystring">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with querystring" time="0.072" classname="fails with querystring">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with plain url" time="0.007" classname="succeeds with plain url">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with plain url" time="0.073" classname="fails with plain url">
    </testcase>
  </testsuite>
  <testsuite name="realtime/crypto" timestamp="2024-02-26T13:42:58" tests="39" file="/home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" time="4.380" failures="15">
    <testcase name="realtime/crypto generateRandomKey0" time="0.000" 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.000" classname="getDefaultParams_preserves_custom_algorithms">
    </testcase>
    <testcase name="realtime/crypto encrypt_message_128" time="0.004" 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.005" classname="fromEncoded_cipher_options">
    </testcase>
    <testcase name="realtime/crypto msgpack_128" time="0.005" 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.047" classname="single_send_128_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_text_transport" time="0.042" classname="single_send_128_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_comet_binary_transport" time="0.000" 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.001" 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.001" 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.000" 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_256_with_web_socket_binary_transport" time="0.043" classname="single_send_256_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_web_socket_text_transport" time="0.040" classname="single_send_256_with_web_socket_text_transport">
    </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 multiple_send_binary_2_200" time="0.250" classname="multiple_send_binary_2_200">
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_2_200" time="0.246" classname="multiple_send_text_2_200">
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_20_100" time="1.952" classname="multiple_send_binary_20_100">
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_20_100" time="1.061" 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_binary_10_10" time="0.110" 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_binary_10_10" time="0.110" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_10_10" time="0.134" 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 multiple_send_text_10_10" time="0.134" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_binary_text" time="0.059" classname="single_send_binary_text">
    </testcase>
    <testcase name="realtime/crypto single_send_text_binary" time="0.076" classname="single_send_text_binary">
    </testcase>
    <testcase name="realtime/crypto publish_immediately" time="0.053" classname="publish_immediately">
    </testcase>
    <testcase name="realtime/crypto single_send_key_mismatch" time="0.003" classname="single_send_key_mismatch">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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_key_mismatch" time="0.003" classname="single_send_key_mismatch">
      <failure message="done() called multiple times in test &lt;realtime/crypto single_send_key_mismatch&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_key_mismatch> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_unencrypted" time="0.061" classname="single_send_unencrypted">
    </testcase>
    <testcase name="realtime/crypto single_send_encrypted_unhandled" time="0.046" classname="single_send_encrypted_unhandled">
    </testcase>
    <testcase name="realtime/crypto set_cipher_params0" time="0.058" classname="set_cipher_params0">
    </testcase>
  </testsuite>
  <testsuite name="realtime/delta" timestamp="2024-02-26T13:43:03" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" time="0.521" failures="5">
    <testcase name="realtime/crypto multiple_send_text_20_100" time="1.061" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaPlugin" time="0.375" 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.024" 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 process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta lastMessageNotFoundRecovery" time="0.049" 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 deltaDecodeFailureRecovery" time="0.072" 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:43:03" tests="2" file="/home/runner/work/ably-js/ably-js/test/realtime/encoding.test.js" time="0.280" failures="1">
    <testcase name="realtime/encoding message_decoding" time="0.062" classname="message_decoding">
    </testcase>
    <testcase name="realtime/encoding message_encoding" time="0.218" classname="message_encoding">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/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/event_emitter" timestamp="2024-02-26T13:43:04" tests="13" file="/home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" time="0.000" failures="0">
    <testcase name="realtime/event_emitter attachdetach0" time="0.039" classname="attachdetach0">
    </testcase>
    <testcase name="realtime/event_emitter emitCallsAllCallbacksIgnoringExceptions" time="0.001" classname="emitCallsAllCallbacksIgnoringExceptions">
    </testcase>
    <testcase name="realtime/event_emitter onceCalledOnlyOnce" time="0.000" classname="onceCalledOnlyOnce">
    </testcase>
    <testcase name="realtime/event_emitter onceCallbackDoesNotImpactOnCallback" time="0.001" classname="onceCallbackDoesNotImpactOnCallback">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingListeners" time="0.000" 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:43:04" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" time="0.063" failures="0">
    <testcase name="realtime/event_emitter event_emitter_promise whenState" time="0.035" classname="whenState">
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise once" time="0.026" 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:43:04" tests="20" file="/home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" time="2.233" failures="25">
    <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.113" 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.000" 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/delta deltaPlugin" time="0.375" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure failed_channel" time="0.033" classname="failed_channel">
    </testcase>
    <testcase name="realtime/encoding message_encoding" time="0.218" classname="message_encoding">
      <failure message="done() called multiple times in test &lt;realtime/encoding message_encoding&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/encoding.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/encoding message_encoding> of file /home/runner/work/ably-js/ably-js/test/realtime/encoding.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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure attach_timeout" time="0.217" 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/delta unusedPlugin" time="0.024" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/delta lastMessageNotFoundRecovery" time="0.049" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaDecodeFailureRecovery" time="0.072" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure channel_backoff_web_socket" time="0.421" 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.007" 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.020" 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.007" 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.020" 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.036" classname="nack_on_connection_closed">
    </testcase>
    <testcase name="realtime/failure idle_transport_timeout" time="0.212" 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 disconnected_backoff_web_socket" time="0.113" 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 try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport" time="0.308" classname="try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_text_transport" time="0.275" 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 channel_backoff_web_socket" time="0.421" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure no_messages_if_not_attached" time="0.576" 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 process.processTicksAndRejections (node:internal/process/task_queues:77:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/history" timestamp="2024-02-26T13:43:06" tests="1" file="/home/runner/work/ably-js/ably-js/test/realtime/history.test.js" time="0.119" failures="0">
    <testcase name="realtime/history history_until_attach" time="0.118" classname="history_until_attach">
    </testcase>
  </testsuite>
  <testsuite name="realtime/init" timestamp="2024-02-26T13:43:06" tests="15" file="/home/runner/work/ably-js/ably-js/test/realtime/init.test.js" time="0.391" failures="9">
    <testcase name="realtime/init initbase0" time="0.034" classname="initbase0">
    </testcase>
    <testcase name="realtime/init init_key_string" time="0.001" classname="init_key_string">
    </testcase>
    <testcase name="realtime/init init_token_string" time="0.023" 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.048" classname="init_key_with_usetokenauth">
    </testcase>
    <testcase name="realtime/init init_usetokenauth_defaulttokenparams_wildcard" time="0.015" 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_usetokenauth_defaulttokenparams_wildcard" time="0.015" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_defaulttokenparams_nonwildcard" time="0.046" classname="init_defaulttokenparams_nonwildcard">
    </testcase>
    <testcase name="realtime/init init_conflicting_clientids" time="0.051" classname="init_conflicting_clientids">
    </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/init init_fallbacks" time="0.032" 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_token_string" time="0.023" 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_and_connection_details" time="0.041" classname="init_and_connection_details">
    </testcase>
    <testcase name="realtime/init init_fallbacks_once_connected" time="0.013" classname="init_fallbacks_once_connected">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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_fallbacks_once_connected" time="0.013" classname="init_fallbacks_once_connected">
      <failure message="done() called multiple times in test &lt;realtime/init init_fallbacks_once_connected&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_fallbacks_once_connected> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_fallbacks_once_connected_2" time="0.082" classname="init_fallbacks_once_connected_2">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/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/message" timestamp="2024-02-26T13:43:06" tests="35" file="/home/runner/work/ably-js/ably-js/test/realtime/message.test.js" time="2.838" failures="40">
    <testcase name="realtime/message publishonce" time="0.043" classname="publishonce">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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_fallbacks_once_connected_2" time="0.082" classname="init_fallbacks_once_connected_2">
      <failure message="done() called multiple times in test &lt;realtime/init init_fallbacks_once_connected_2&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_fallbacks_once_connected_2> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishonce" time="0.043" classname="publishonce">
      <failure message="done() called multiple times in test &lt;realtime/message publishonce&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 publishonce> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_binary_transport" time="0.067" 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 processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processTimers (node:internal/timers:509:9)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_text_transport" time="0.022" classname="publishfast_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 publishfast_with_comet_binary_transport" time="0.001" 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.000" 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/failure attach_timeout" time="0.217" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_binary_transport" time="0.222" 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/failure idle_transport_timeout" time="0.212" 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/message publishQueued_with_web_socket_text_transport" time="0.124" 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.039" 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.038" 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 publishfast_with_web_socket_binary_transport" time="0.067" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_binary_transport" time="0.033" 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_text_transport" time="0.003" 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.039" 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 publishfast_with_web_socket_text_transport" time="0.022" classname="publishfast_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/message publishfast_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 publishfast_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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishEcho" time="0.039" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishVariations" time="0.525" 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 processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:538:9)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishDisallowed" time="0.043" classname="publishDisallowed">
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_binary_transport" time="0.222" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishEncodings" time="0.081" classname="publishEncodings">
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_text_transport" time="0.124" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message restpublish" time="0.368" 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.247" 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/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:569:17)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_binary_transport" time="0.247" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_text_transport" time="0.446" 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.000" 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/message implicit_client_id_0" time="0.043" classname="implicit_client_id_0">
    </testcase>
    <testcase name="realtime/message explicit_client_id_0" time="0.011" 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.011" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_text_transport" time="0.446" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_1" time="0.104" 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.044" classname="subscribe_with_event_array">
    </testcase>
    <testcase name="realtime/message subscribe_with_filter_object" time="0.059" classname="subscribe_with_filter_object">
    </testcase>
    <testcase name="realtime/message unsubscribe_with_filter_object" time="0.048" classname="unsubscribe_with_filter_object">
    </testcase>
    <testcase name="realtime/message extras_field" time="0.044" classname="extras_field">
    </testcase>
    <testcase name="realtime/message maxMessageSize" time="0.032" classname="maxMessageSize">
    </testcase>
    <testcase name="realtime/message idempotentRealtimePublishing" time="0.032" classname="idempotentRealtimePublishing">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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 idempotentRealtimePublishing" time="0.032" classname="idempotentRealtimePublishing">
      <failure message="done() called multiple times in test &lt;realtime/message idempotentRealtimePublishing&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 idempotentRealtimePublishing> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishVariations" time="0.525" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribes to filtered channel" time="0.069" classname="subscribes to filtered channel">
    </testcase>
  </testsuite>
  <testsuite name="realtime/presence" timestamp="2024-02-26T13:43:09" tests="35" file="/home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" time="4.121" failures="24">
    <testcase name="realtime/message explicit_client_id_1" time="0.104" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithoutAttach" time="0.183" classname="presenceEnterWithoutAttach">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithoutConnect" time="0.079" classname="presenceEnterWithoutConnect">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithCallback" time="0.082" classname="presenceEnterWithCallback">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithNothing" time="0.080" classname="presenceEnterWithNothing">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithData" time="0.094" classname="presenceEnterWithData">
    </testcase>
    <testcase name="realtime/presence presenceMessageAction" time="0.043" classname="presenceMessageAction">
    </testcase>
    <testcase name="realtime/presence presenceMessageExtras" time="0.125" classname="presenceMessageExtras">
    </testcase>
    <testcase name="realtime/presence presenceEnterDetachEnter" time="0.022" 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 presenceEnterInvalid" time="0.035" classname="presenceEnterInvalid">
    </testcase>
    <testcase name="realtime/presence presenceEnterAndLeave" time="0.027" 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 presenceEnterAndLeave" time="0.027" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterUpdate" time="0.270" 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 presenceEnterGet" time="0.014" 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 presenceEnterGet" time="0.014" 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; in addition, done() received error: Error: Connection monitoring: state changed to failed, aborting test
    at Object.&lt;anonymous&gt; (/home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:39:14)
    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/presence presenceEnterGet> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js; in addition, done() received error: Error: Connection monitoring: state changed to failed, aborting test
    at Object.<anonymous> (test/common/modules/shared_helper.js:39:14)
    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 Object.<anonymous> (test/common/modules/shared_helper.js:39:9)
    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/presence presenceSubscribeUnattached" time="0.066" classname="presenceSubscribeUnattached">
    </testcase>
    <testcase name="realtime/presence presenceGetUnattached" time="0.118" classname="presenceGetUnattached">
    </testcase>
    <testcase name="realtime/presence presenceEnterDetachEnter" time="0.022" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterUpdate" time="0.270" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterLeaveGet" time="0.306" 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 presenceEnterLeaveGet" time="0.306" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceHistory" time="0.573" classname="presenceHistory">
    </testcase>
    <testcase name="realtime/presence presenceSecondConnection" time="0.163" classname="presenceSecondConnection">
    </testcase>
    <testcase name="realtime/presence presenceTwoMembers" time="0.118" classname="presenceTwoMembers">
    </testcase>
    <testcase name="realtime/presence presenceEnterAfterClose" time="0.118" classname="presenceEnterAfterClose">
    </testcase>
    <testcase name="realtime/presence presenceEnterClosed" time="0.024" classname="presenceEnterClosed">
    </testcase>
    <testcase name="realtime/failure no_messages_if_not_attached" time="0.576" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceClientIdIsImplicit" time="0.567" classname="presenceClientIdIsImplicit">
    </testcase>
    <testcase name="realtime/presence presenceEncoding" time="0.012" 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 presenceEncoding" time="0.012" classname="presenceEncoding">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEncoding&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 presenceEncoding> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_inherited_clientid" time="0.098" classname="presence_enter_inherited_clientid">
    </testcase>
    <testcase name="realtime/presence presence_enter_before_know_clientid" time="0.110" classname="presence_enter_before_know_clientid">
    </testcase>
    <testcase name="realtime/message restpublish" time="0.368" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_refresh_on_detach" time="0.217" 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_detach_during_sync" time="0.066" classname="presence_detach_during_sync">
    </testcase>
    <testcase name="realtime/presence presence_auto_reenter" time="0.060" 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.040" classname="multiple_pending">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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 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.060" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence multiple_pending" time="0.040" classname="multiple_pending">
      <failure message="done() called multiple times in test &lt;realtime/presence multiple_pending&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 multiple_pending> 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence leave_published_for_members_on_presenceless_attached" time="0.115" classname="leave_published_for_members_on_presenceless_attached">
    </testcase>
    <testcase name="realtime/presence presence_refresh_on_detach" time="0.217" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence suspended_preserves_presence" time="0.157" 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="0.115" 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:43:13" tests="24" file="/home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" time="6.561" failures="25">
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport" time="0.072" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport" time="0.055" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_comet_binary_transport" time="0.042" 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/presence suspended_preserves_presence" time="0.157" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_comet_text_transport" time="0.816" 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/reauth reauthCapabilityUpgradeNewChannel_with_binary_transport" time="0.131" 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 processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at listOnTimeout (node:internal/timers:538:9)
    at process.processTimers (node:internal/timers:512:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport" time="0.053" classname="reauthCapabilityDowngradeFullChannel_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 reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport" time="0.053" classname="reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityDowngradeFullChannel_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 reauthCapabilityDowngradeFullChannel_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 reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport" time="0.056" classname="reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_comet_binary_transport" time="0.508" 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_comet_text_transport" time="0.091" 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.522" 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="1.122" 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.085" classname="reauthCapabilityUpgradeAddPublish_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport" time="0.305" 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.464" 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_comet_text_transport" time="0.037" 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="0.115" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_binary_transport" time="0.233" 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.060" 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.111" classname="reauthCapabilityDowngradePublish_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport" time="0.224" 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.224" 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="0.154" 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 reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport" time="0.305" 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 reauthCapabilityDowngradePublish_with_comet_text_transport" time="0.464" 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.500" 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/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/reauth reauthCapabilityDowngradePublish_with_text_transport" time="0.391" 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:43:20" tests="25" file="/home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" time="9.813" failures="21">
    <testcase name="realtime/resume resume_inactive_with_web_socket_binary_transport" time="0.070" 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.188" 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="6.979" 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.931" 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.001" 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.000" 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.054" 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.054" 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:517: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:529:35)
    at node:net:350: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.063" 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.142" 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.335" 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.108" 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.117" 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.046" classname="resume_fatal_error_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_text_transport" time="0.051" classname="resume_fatal_error_with_web_socket_text_transport">
    </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.079" classname="channel_resumed_flag">
    </testcase>
    <testcase name="realtime/resume no_resume_once_suspended" time="0.024" classname="no_resume_once_suspended">
    </testcase>
    <testcase name="realtime/resume no_resume_last_activity" time="0.025" classname="no_resume_last_activity">
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_binary_transport" time="0.142" 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:517: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:529:35)
    at node:net:350: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.335" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_rewind_1" time="0.361" 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.231" classname="recover multiple channels">
    </testcase>
  </testsuite>
  <testsuite name="realtime/sync" timestamp="2024-02-26T13:43:30" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/sync.test.js" time="0.574" failures="0">
    <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.001" 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/sync presence_sync_interruptus" time="0.569" classname="presence_sync_interruptus">
    </testcase>
  </testsuite>
  <testsuite name="realtime/upgrade" timestamp="2024-02-26T13:43:30" tests="14" file="/home/runner/work/ably-js/ably-js/test/realtime/upgrade.test.js" time="0.010" 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.001" 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.000" 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.001" 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.001" 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.000" 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.001" 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:43:30" tests="1" file="/home/runner/work/ably-js/ably-js/test/realtime/utils.test.js" time="0.002" failures="0">
    <testcase name="incremental backoff and jitter should calculate retry timeouts using incremental backoff and jitter" time="0.002" classname="should calculate retry timeouts using incremental backoff and jitter">
    </testcase>
  </testsuite>
  <testsuite name="rest/api" timestamp="2024-02-26T13:43:30" 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.000" classname="Client constructors">
    </testcase>
    <testcase name="rest/api Crypto" time="0.000" classname="Crypto">
    </testcase>
    <testcase name="rest/api Message" time="0.001" classname="Message">
    </testcase>
    <testcase name="rest/api PresenceMessage" time="0.000" classname="PresenceMessage">
    </testcase>
  </testsuite>
  <testsuite name="rest/auth" timestamp="2024-02-26T13:43:30" tests="32" file="/home/runner/work/ably-js/ably-js/test/rest/auth.test.js" time="3.944" failures="6">
    <testcase name="rest/auth Base token generation case" time="0.008" classname="Base token generation case">
    </testcase>
    <testcase name="rest/auth Base token generation with options" time="0.008" classname="Base token generation with options">
    </testcase>
    <testcase name="rest/auth Generate token and init library with it" time="0.014" classname="Generate token and init library with it">
    </testcase>
    <testcase name="rest/auth Token generation with explicit timestamp" time="0.015" classname="Token generation with explicit timestamp">
    </testcase>
    <testcase name="rest/auth Token generation with invalid timestamp" time="0.007" classname="Token generation with invalid timestamp">
    </testcase>
    <testcase name="rest/auth Token generation with system timestamp" time="0.008" classname="Token generation with system timestamp">
    </testcase>
    <testcase name="rest/auth Token generation with duplicate nonce" time="0.021" classname="Token generation with duplicate nonce">
    </testcase>
    <testcase name="rest/auth Token generation with clientId" time="0.007" 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="rest/auth Token generation with capability that subsets key capability" time="0.007" classname="Token generation with capability that subsets key capability">
    </testcase>
    <testcase name="rest/auth Token generation with specified key" time="0.279" classname="Token generation with specified key">
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth" time="0.010" classname="Token generation with explicit auth">
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_binary_transport" time="6.979" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_binary_transport" time="0.070" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_text_transport" time="0.188" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth, different key" time="1.159" classname="Token generation with explicit auth, different key">
    </testcase>
    <testcase name="rest/auth Token generation with invalid mac" time="0.009" classname="Token generation with invalid mac">
    </testcase>
    <testcase name="rest/auth Token generation with defaultTokenParams set and no tokenParams passed in" time="0.008" classname="Token generation with defaultTokenParams set and no tokenParams passed in">
    </testcase>
    <testcase name="rest/auth Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged" time="0.009" classname="Token generation: if tokenParams passed in, defaultTokenParams should be ignored altogether, not merged">
    </testcase>
    <testcase name="rest/auth Authorize with different args" time="0.020" classname="Authorize with different args">
    </testcase>
    <testcase name="rest/auth Specify non-default ttl" time="0.010" classname="Specify non-default ttl">
    </testcase>
    <testcase name="rest/auth Should error with excessive ttl" time="0.011" classname="Should error with excessive ttl">
    </testcase>
    <testcase name="rest/auth Should error with negative ttl" time="0.011" classname="Should error with negative ttl">
    </testcase>
    <testcase name="rest/auth Should error with invalid ttl" time="0.008" classname="Should error with invalid ttl">
    </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 Basic rest JWT" time="0.111" classname="Basic rest JWT">
    </testcase>
    <testcase name="rest/auth Rest JWT with return type " time="0.612" 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 embedded JWT" time="0.212" classname="Rest embedded JWT">
    </testcase>
    <testcase name="rest/auth Rest JWT with return type " time="0.612" 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 with encryption" time="0.202" classname="Rest embedded JWT with encryption">
    </testcase>
    <testcase name="rest/auth JWT request with invalid key" time="0.436" classname="JWT request with invalid key">
    </testcase>
    <testcase name="rest/auth Rest JWT with authCallback" time="0.305" classname="Rest JWT with authCallback">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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 authCallback and invalid keys" time="0.330" classname="Rest JWT with authCallback and invalid keys">
    </testcase>
    <testcase name="rest/auth authCallback is only invoked once on concurrent auth" time="0.094" classname="authCallback is only invoked once on concurrent auth">
    </testcase>
  </testsuite>
  <testsuite name="rest/batchPublish" timestamp="2024-02-26T13:43:34" 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:43:34" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.093" failures="1">
    <testcase name="rest/auth Rest JWT with authCallback" time="0.305" classname="Rest JWT with authCallback">
      <failure message="done() called multiple times in test &lt;rest/auth Rest JWT with authCallback&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 authCallback> 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/batchPublish when invoked with an array of specs performs a batch publish and returns an array of results" time="0.093" 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:43:34" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.040" failures="0">
    <testcase name="rest/batchPublish when invoked with a single spec performs a batch publish and returns a single result" time="0.040" classname="performs a batch publish and returns a single result">
    </testcase>
  </testsuite>
  <testsuite name="rest/batchPresence" timestamp="2024-02-26T13:43:34" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.097" failures="1">
    <testcase name="rest/batchPresence performs a batch presence fetch and returns a result" time="0.096" 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:43:35" tests="3" file="/home/runner/work/ably-js/ably-js/test/rest/batch.test.js" time="0.211" failures="0">
    <testcase name="rest/revokeTokens revokes tokens matching the given specifiers" time="0.190" classname="revokes tokens matching the given specifiers">
    </testcase>
    <testcase name="rest/revokeTokens accepts optional issuedBefore and allowReauthMargin parameters" time="0.020" 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:43:35" tests="2" file="/home/runner/work/ably-js/ably-js/test/rest/bufferutils.test.js" time="0.001" 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:43:35" tests="14" file="/home/runner/work/ably-js/ably-js/test/rest/capability.test.js" time="0.866" failures="10">
    <testcase name="rest/capability Blanket intersection with specified key" time="0.220" 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/batchPresence performs a batch presence fetch and returns a result" time="0.096" 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 Blanket intersection with specified key" time="0.220" 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.224" classname="Equal 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 Equal intersection with specified key" time="0.224" classname="Equal intersection with specified key">
      <failure message="done() called multiple times in test &lt;rest/capability Equal 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 Equal 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 Empty ops intersection" time="0.014" classname="Empty ops intersection">
    </testcase>
    <testcase name="rest/capability Empty paths intersection" time="0.003" classname="Empty paths intersection">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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 Empty paths intersection" time="0.003" classname="Empty paths intersection">
      <failure message="done() called multiple times in test &lt;rest/capability Empty paths intersection&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 Empty paths intersection> 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 Ops intersection non-empty" time="0.012" classname="Ops intersection non-empty">
    </testcase>
    <testcase name="rest/capability Paths intersection non-empty" time="0.009" classname="Paths intersection non-empty">
    </testcase>
    <testcase name="rest/capability Wildcard token with publish and subscribe key" time="0.011" classname="Wildcard token with publish and subscribe key">
    </testcase>
    <testcase name="rest/capability Publish and subscribe token with wildcard key" time="0.297" classname="Publish and subscribe token with wildcard 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 Resources wildcard matching 1" time="0.019" classname="Resources wildcard matching 1">
    </testcase>
    <testcase name="rest/capability Resources wildcard matching 2" time="0.012" classname="Resources wildcard matching 2">
    </testcase>
    <testcase name="rest/capability Resources wildcard matching 3" time="0.010" classname="Resources wildcard matching 3">
    </testcase>
    <testcase name="rest/capability Invalid capabilities 1" time="0.008" classname="Invalid capabilities 1">
    </testcase>
    <testcase name="rest/capability Invalid capabilities 2" time="0.003" classname="Invalid capabilities 2">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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 Invalid capabilities 2" time="0.003" classname="Invalid capabilities 2">
      <failure message="done() called multiple times in test &lt;rest/capability Invalid capabilities 2&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 Invalid capabilities 2> 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 Invalid capabilities 3" time="0.013" classname="Invalid capabilities 3">
    </testcase>
  </testsuite>
  <testsuite name="rest/defaults" timestamp="2024-02-26T13:43:36" 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.000" 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:43:36" 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:43:36" 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:43:36" 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:43:36" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/fallbacks.test.js" time="0.231" failures="2">
    <testcase name="rest/capability Publish and subscribe token with wildcard key" time="0.297" classname="Publish and subscribe token with wildcard key">
      <failure message="done() called multiple times in test &lt;rest/capability Publish and subscribe token with wildcard 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 Publish and subscribe token with wildcard 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/fallbacks Store working fallback" time="0.230" 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:43:36" tests="13" file="/home/runner/work/ably-js/ably-js/test/rest/history.test.js" time="1.197" failures="15">
    <testcase name="rest/history history_simple with binary protocol" time="0.048" classname="history_simple 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 with text protocol" time="0.007" 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="rest/history history_multiple with binary protocol" time="0.167" 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="rest/history history_multiple with text protocol" time="0.040" 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.015" 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="rest/history history_simple_paginated_b with text protocol" time="0.004" 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.070" 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.019" 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 processTicksAndRejections (node:internal/process/task_queues:77:11)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at process.processTimers (node:internal/timers:509:9)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_rewind_1" time="0.361" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple_paginated_f" time="0.160" 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.212" 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_encoding_errors with text protocol" time="0.264" classname="history_encoding_errors 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 with binary protocol" time="0.048" classname="history_simple with binary protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_simple 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 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_simple with text protocol" time="0.007" 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="rest/history history_multiple with binary protocol" time="0.167" 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_no_next_page with binary protocol" time="0.099" classname="history_no_next_page with binary protocol">
    </testcase>
    <testcase name="rest/history history_no_next_page with text protocol" time="0.089" classname="history_no_next_page with text protocol">
    </testcase>
  </testsuite>
  <testsuite name="rest/http" timestamp="2024-02-26T13:43:37" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/http.test.js" time="0.016" failures="1">
    <testcase name="rest/http Should send X-Ably-Version and Ably-Agent headers in get/post requests" time="0.016" 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:43:37" tests="6" file="/home/runner/work/ably-js/ably-js/test/rest/init.test.js" time="0.140" 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 with text protocol" time="0.040" 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/init Init with token string" time="0.138" classname="Init with 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="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.000" 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:43:37" tests="7" file="/home/runner/work/ably-js/ably-js/test/rest/message.test.js" time="0.794" failures="10">
    <testcase name="rest/message Should implicitly send clientId when authenticated with clientId" time="0.090" classname="Should implicitly send clientId when authenticated with clientId">
    </testcase>
    <testcase name="rest/history history_simple_paginated_f" time="0.070" 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_simple_paginated_b with binary protocol" time="0.015" 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_simple_paginated_b with text protocol" time="0.004" 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/http Should send X-Ably-Version and Ably-Agent headers in get/post requests" time="0.016" 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.138" classname="Init with token string">
      <failure message="done() called multiple times in test &lt;rest/init Init with token string&gt; of file /home/runner/work/ably-js/ably-js/test/rest/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/init Init with token string> of file /home/runner/work/ably-js/ably-js/test/rest/init.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/history history_multiple_paginated_b" time="0.019" 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/message Should publish clientId when provided explicitly in message" time="0.089" classname="Should publish clientId when provided explicitly in message">
    </testcase>
    <testcase name="rest/history history_encoding_errors with binary protocol" time="0.212" 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/message Should error when clientId sent in message is different than authenticated clientId" time="0.117" 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/history history_multiple_paginated_f" time="0.160" 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/message Should send correct IDs when idempotentRestPublishing set to false" time="0.092" classname="Should send correct IDs when idempotentRestPublishing set to false">
    </testcase>
    <testcase name="rest/history history_encoding_errors with text protocol" time="0.264" classname="history_encoding_errors with text protocol">
      <failure message="done() called multiple times in test &lt;rest/history history_encoding_errors 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_encoding_errors 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/message Should add IDs when automatic idempotent rest publishing option enabled" time="0.326" classname="Should add IDs when automatic idempotent rest publishing option enabled">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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/message Rest publish params" time="0.077" classname="Rest publish params">
    </testcase>
  </testsuite>
  <testsuite name="rest/presence" timestamp="2024-02-26T13:43:38" tests="4" file="/home/runner/work/ably-js/ably-js/test/rest/presence.test.js" time="0.029" failures="2">
    <testcase name="rest/presence Presence get simple" time="0.013" classname="Presence get simple">
    </testcase>
    <testcase name="rest/presence Presence history simple" time="0.007" classname="Presence history simple">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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/message Should add IDs when automatic idempotent rest publishing option enabled" time="0.326" classname="Should add IDs when automatic idempotent rest publishing option enabled">
      <failure message="done() called multiple times in test &lt;rest/message Should add IDs when automatic idempotent rest publishing option enabled&gt; of file /home/runner/work/ably-js/ably-js/test/rest/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/message Should add IDs when automatic idempotent rest publishing option enabled> of file /home/runner/work/ably-js/ably-js/test/rest/message.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/presence Presence message JSON serialisation" time="0.008" classname="Presence message JSON serialisation">
    </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:43:38" tests="9" file="/home/runner/work/ably-js/ably-js/test/rest/push.test.js" time="1.017" failures="10">
    <testcase name="rest/presence Presence history simple" time="0.007" classname="Presence history simple">
      <failure message="done() called multiple times in test &lt;rest/presence Presence history simple&gt; of file /home/runner/work/ably-js/ably-js/test/rest/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <rest/presence Presence history simple> of file /home/runner/work/ably-js/ably-js/test/rest/presence.test.js
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)]]></failure>
    </testcase>
    <testcase name="rest/push Get subscriptions" time="0.063" classname="Get subscriptions">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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.053" classname="Publish">
    </testcase>
    <testcase name="rest/push deviceRegistrations save" time="0.117" classname="deviceRegistrations save">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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.931" 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:517: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:529:35)
    at node:net:350:12
    at TCP.done (node:_tls_wrap:657:7)]]></failure>
    </testcase>
    <testcase name="rest/push deviceRegistrations get and list" time="0.183" 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 save" time="0.117" classname="deviceRegistrations save">
      <failure message="done() called multiple times in test &lt;rest/push deviceRegistrations save&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 save> 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 remove removeWhere" time="0.504" 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.045" classname="channelSubscriptions save">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/runner/work/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 get" time="0.003" 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.035" classname="push_channelSubscriptions_remove">
    </testcase>
    <testcase name="rest/push channelSubscriptions listChannels" time="0.011" classname="channelSubscriptions listChannels">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Transport.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    at ConnectionManager.startConnect (build/ably-node.js:6455:13)
    at /home/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/request" timestamp="2024-02-26T13:43:39" tests="16" file="/home/runner/work/ably-js/ably-js/test/rest/request.test.js" time="0.595" failures="10">
    <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.008" classname="request_time with binary protocol">
    </testcase>
    <testcase name="rest/request request_time with text protocol" time="0.007" classname="request_time with text protocol">
    </testcase>
    <testcase name="rest/request request_404 with binary protocol" time="0.031" 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.055" 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.009" classname="request_network_error">
    </testcase>
    <testcase name="rest/push Get subscriptions" time="0.063" classname="Get subscriptions">
      <failure message="done() called multiple times in test &lt;rest/push Get subscriptions&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 Get subscriptions> 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.123" classname="request_post_get_messages with binary protocol">
    </testcase>
    <testcase name="rest/request request_404 with binary protocol" time="0.031" 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.055" 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/request request_post_get_messages with text protocol" time="0.114" classname="request_post_get_messages with text protocol">
    </testcase>
    <testcase name="rest/request request_batch_api_success with binary protocol" time="0.017" classname="request_batch_api_success with binary protocol">
    </testcase>
    <testcase name="rest/request request_batch_api_success with text protocol" time="0.005" 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.005" 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.045" 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 checkput" time="0.045" 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 checkpatch" time="0.104" 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 checkdelete" time="0.074" classname="checkdelete">
    </testcase>
  </testsuite>
  <testsuite name="rest/stats" timestamp="2024-02-26T13:43:40" tests="11" file="/home/runner/work/ably-js/ably-js/test/rest/stats.test.js" time="0.091" failures="1">
    <testcase name="rest/stats &quot;before all&quot; hook for &quot;contains expected fields&quot;" time="0.090" 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:43:40" tests="2" file="/home/runner/work/ably-js/ably-js/test/rest/status.test.js" time="0.101" failures="1">
    <testcase name="rest/request checkpatch" time="0.104" 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/status status0 with binary protocol" time="0.088" classname="status0 with binary protocol">
    </testcase>
    <testcase name="rest/status status0 with text protocol" time="0.013" classname="status0 with text protocol">
    </testcase>
  </testsuite>
  <testsuite name="rest/time" timestamp="2024-02-26T13:43:40" tests="1" file="/home/runner/work/ably-js/ably-js/test/rest/time.test.js" time="0.271" failures="1">
    <testcase name="rest/time time0" time="0.006" classname="time0">
    </testcase>
    <testcase name="&quot;after all&quot; hook in &quot;{root}&quot;" time="0.263" classname="&quot;after all&quot; hook in &quot;{root}&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>
</testsuites>