<testsuites name="Mocha Tests" time="1322.906" tests="491" failures="271" skipped="10">
  <testsuite name="Root Suite" timestamp="2024-02-26T13:15:54" tests="0" time="0.000" failures="0">
  </testsuite>
  <testsuite name="realtime/api" timestamp="2024-02-26T13:15:54" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/api.test.js" time="0.003" failures="0">
    <testcase name="realtime/api Client constructors" time="0.001" classname="Client constructors">
    </testcase>
    <testcase name="realtime/api Crypto" time="0.001" classname="Crypto">
    </testcase>
    <testcase name="realtime/api Message" time="0.000" classname="Message">
    </testcase>
    <testcase name="realtime/api PresenceMessage" time="0.000" classname="PresenceMessage">
    </testcase>
  </testsuite>
  <testsuite name="realtime/auth" timestamp="2024-02-26T13:15:54" tests="83" file="/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js" time="1260.778" failures="20">
    <testcase name="realtime/auth authbase0" time="0.041" classname="authbase0">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_json" time="0.406" classname="auth_useAuthUrl_json">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_post_json" time="0.171" classname="auth_useAuthUrl_post_json">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_plainText" time="0.204" classname="auth_useAuthUrl_plainText">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenRequestResponse" time="0.061" classname="auth_useAuthCallback_tokenRequestResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenDetailsResponse" time="0.081" classname="auth_useAuthCallback_tokenDetailsResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthCallback_tokenStringResponse" time="0.092" classname="auth_useAuthCallback_tokenStringResponse">
    </testcase>
    <testcase name="realtime/auth auth_useAuthUrl_mixed_authParams_qsParams" time="0.173" classname="auth_useAuthUrl_mixed_authParams_qsParams">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance" time="0.138" classname="auth_clientid_inheritance">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance2" time="0.015" classname="auth_clientid_inheritance2">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance3" time="0.048" classname="auth_clientid_inheritance3">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance4" time="0.103" classname="auth_clientid_inheritance4">
    </testcase>
    <testcase name="realtime/auth auth_clientid_inheritance5" time="0.073" classname="auth_clientid_inheritance5">
    </testcase>
    <testcase name="realtime/auth authCallback_error" time="0.001" 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.005" 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.100" classname="authUrl_timeout">
    </testcase>
    <testcase name="realtime/auth authUrl_404" time="0.024" classname="authUrl_404">
    </testcase>
    <testcase name="realtime/auth authUrl_wrong_content_type" time="0.008" classname="authUrl_wrong_content_type">
    </testcase>
    <testcase name="realtime/auth authUrl_401" time="0.075" classname="authUrl_401">
    </testcase>
    <testcase name="realtime/auth authUrl_double_encoded" time="0.076" classname="authUrl_double_encoded">
    </testcase>
    <testcase name="realtime/auth authUrl_403" time="0.075" classname="authUrl_403">
    </testcase>
    <testcase name="realtime/auth authUrl_403_custom_error" time="0.076" classname="authUrl_403_custom_error">
    </testcase>
    <testcase name="realtime/auth authUrl_403_previously_active" time="0.251" classname="authUrl_403_previously_active">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_web_socket_binary_transport" time="5.008" classname="auth_token_expires_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_web_socket_text_transport" time="5.009" classname="auth_token_expires_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_comet_binary_transport" time="60.009" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_comet_text_transport" time="60.007" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_binary_transport" time="60.003" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_expires_with_text_transport" time="60.009" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_query_time_once" time="0.018" classname="auth_query_time_once">
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_web_socket_binary_transport" time="5.060" 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.056" 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.003" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_comet_text_transport" time="60.004" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_binary_transport" time="60.001" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_tokenDetails_expiry_with_authcallback_with_text_transport" time="60.007" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_web_socket_binary_transport" time="5.084" 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.084" 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.007" 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:559:17)
    at processTimers (node:internal/timers:502: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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_binary_transport" time="60.008" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_authcallback_with_text_transport" time="60.000" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_web_socket_binary_transport" time="5.007" 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.008" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_comet_text_transport" time="60.000" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_token_string_expiry_with_token_with_binary_transport" time="60.000" classname="auth_token_string_expiry_with_token_with_binary_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502: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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_web_socket_binary_transport" time="0.342" 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.159" 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:559:17)
    at processTimers (node:internal/timers:502: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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_binary_transport" time="60.001" 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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/auth auth_expired_token_string_with_text_transport" time="60.001" classname="auth_expired_token_string_with_text_transport">
      <failure message="Timeout of 60000ms exceeded. For async tests and hooks, ensure &quot;done()&quot; is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)" type="Error"><![CDATA[Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/ably-js/ably-js/test/realtime/auth.test.js)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502: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.147" classname="mocked_reauth">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_clientid" time="0.366" classname="auth_jwt_with_clientid">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_clientid_application_jwt" time="0.126" classname="auth_jwt_with_clientid_application_jwt">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_subscribe_only_capability" time="0.165" classname="auth_jwt_with_subscribe_only_capability">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_publish_capability" time="0.134" classname="auth_jwt_with_publish_capability">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_token_that_expires" time="4.138" classname="auth_jwt_with_token_that_expires">
    </testcase>
    <testcase name="realtime/auth auth_jwt_with_token_that_renews" time="5.082" classname="auth_jwt_with_token_that_renews">
    </testcase>
    <testcase name="realtime/auth init_client_with_simple_jwt_token" time="0.113" classname="init_client_with_simple_jwt_token">
    </testcase>
    <testcase name="realtime/auth reauth_consistently_expired_token" time="3.117" classname="reauth_consistently_expired_token">
    </testcase>
    <testcase name="realtime/auth expired_token_no_autoremove_when_dont_have_servertime" time="0.094" classname="expired_token_no_autoremove_when_dont_have_servertime">
    </testcase>
    <testcase name="realtime/auth expired_token_autoremove_when_have_servertime" time="0.082" classname="expired_token_autoremove_when_have_servertime">
    </testcase>
    <testcase name="realtime/auth multiple_concurrent_authorize" time="0.238" classname="multiple_concurrent_authorize">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_web_socket_binary_transport" time="0.066" 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.085" 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.072" classname="authorize_immediately_after_init_with_comet_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_comet_text_transport" time="0.070" classname="authorize_immediately_after_init_with_comet_text_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_binary_transport" time="0.077" classname="authorize_immediately_after_init_with_binary_transport">
    </testcase>
    <testcase name="realtime/auth authorize_immediately_after_init_with_text_transport" time="0.076" classname="authorize_immediately_after_init_with_text_transport">
    </testcase>
  </testsuite>
  <testsuite name="realtime/channel" timestamp="2024-02-26T13:36:55" tests="116" file="/home/runner/work/ably-js/ably-js/test/realtime/channel.test.js" time="25.632" failures="62">
    <testcase name="realtime/channel channelinit0_with_web_socket_binary_transport" time="0.050" classname="channelinit0_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelinit0_with_web_socket_text_transport" time="0.056" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelinit0_with_text_transport" time="0.001" classname="channelinit0_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_web_socket_binary_transport" time="0.065" classname="channelattach0_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach0_with_web_socket_text_transport" time="0.074" classname="channelattach0_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach0_with_comet_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_comet_text_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach0_with_text_transport" time="0.001" classname="channelattach0_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_web_socket_binary_transport" time="0.055" classname="channelattach2_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach2_with_web_socket_text_transport" time="0.055" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_comet_text_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach2_with_text_transport" time="0.001" classname="channelattach2_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach3_with_web_socket_binary_transport" time="0.103" classname="channelattach3_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach3_with_web_socket_text_transport" time="0.062" classname="channelattach3_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel channelattach3_with_comet_binary_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_web_socket_binary_transport" time="1.068" classname="channelattachempty_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_web_socket_text_transport" time="1.057" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachempty_with_text_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_web_socket_binary_transport" time="1.054" classname="channelattachinvalid_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_web_socket_text_transport" time="1.098" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachinvalid_with_comet_text_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_web_socket_binary_transport" time="0.056" classname="publish_no_attach_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_web_socket_text_transport" time="0.082" classname="publish_no_attach_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_comet_binary_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_comet_text_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel publish_no_attach_with_text_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_web_socket_binary_transport" time="0.063" classname="channelattach_publish_invalid_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_publish_invalid_with_web_socket_text_transport" time="0.075" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_web_socket_binary_transport" time="1.061" classname="channelattach_invalid_twice_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel channelattach_invalid_twice_with_web_socket_text_transport" time="1.063" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelattachOnceOrIfAfter" time="0.061" classname="channelattachOnceOrIfAfter">
    </testcase>
    <testcase name="realtime/channel channelattachOnceOrIfBefore" time="0.068" classname="channelattachOnceOrIfBefore">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_web_socket_binary_transport" time="1.129" classname="attachWithChannelParamsBasicChannelsGet_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_web_socket_text_transport" time="1.099" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicChannelsGet_with_text_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_web_socket_binary_transport" time="1.117" classname="attachWithChannelParamsBasicSetOptions_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_web_socket_text_transport" time="1.129" classname="attachWithChannelParamsBasicSetOptions_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_comet_binary_transport" time="0.001" classname="attachWithChannelParamsBasicSetOptions_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_comet_text_transport" time="0.000" classname="attachWithChannelParamsBasicSetOptions_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsBasicSetOptions_with_text_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_web_socket_binary_transport" time="0.056" classname="subscribeAfterSetOptions_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_web_socket_text_transport" time="0.058" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_comet_text_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_binary_transport" time="0.000" classname="subscribeAfterSetOptions_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel subscribeAfterSetOptions_with_text_transport" time="0.000" classname="subscribeAfterSetOptions_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel channelGetShouldThrowWhenWouldCauseReattach" time="0.077" classname="channelGetShouldThrowWhenWouldCauseReattach">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_web_socket_binary_transport" time="0.093" classname="setOptionsCallbackBehaviour_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_web_socket_text_transport" time="0.085" classname="setOptionsCallbackBehaviour_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_comet_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_comet_text_transport" time="0.000" classname="setOptionsCallbackBehaviour_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel setOptionsCallbackBehaviour_with_binary_transport" time="0.000" classname="setOptionsCallbackBehaviour_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_web_socket_binary_transport" time="1.148" classname="attachWithChannelParamsModesAndChannelModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_web_socket_text_transport" time="1.134" classname="attachWithChannelParamsModesAndChannelModes_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsModesAndChannelModes_with_comet_binary_transport" time="0.000" classname="attachWithChannelParamsModesAndChannelModes_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_web_socket_binary_transport" time="1.134" classname="attachWithChannelModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_web_socket_text_transport" time="1.127" classname="attachWithChannelModes_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_comet_binary_transport" time="0.001" classname="attachWithChannelModes_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelModes_with_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport" time="0.387" classname="attachWithChannelParamsDeltaAndModes_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/channel attachWithChannelParamsDeltaAndModes_with_web_socket_text_transport" time="0.168" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/channel attachWithInvalidChannelParams" time="0.064" classname="attachWithInvalidChannelParams">
    </testcase>
    <testcase name="realtime/channel channelsubscribe0" time="1.055" classname="channelsubscribe0">
    </testcase>
    <testcase name="realtime/channel channelsubscribe1" time="1.081" classname="channelsubscribe1">
    </testcase>
    <testcase name="realtime/channel server_sent_detached" time="0.160" classname="server_sent_detached">
    </testcase>
    <testcase name="realtime/channel server_sent_detached_while_attaching" time="0.042" classname="server_sent_detached_while_attaching">
    </testcase>
    <testcase name="realtime/channel server_sent_error" time="0.056" classname="server_sent_error">
    </testcase>
    <testcase name="realtime/channel server_sent_attached_err" time="0.060" classname="server_sent_attached_err">
    </testcase>
    <testcase name="realtime/channel publish_no_queueing" time="0.001" classname="publish_no_queueing">
    </testcase>
    <testcase name="realtime/channel channel_attach_timeout" time="2.135" classname="channel_attach_timeout">
    </testcase>
    <testcase name="realtime/channel suspended_connection" time="3.194" classname="suspended_connection">
    </testcase>
    <testcase name="realtime/channel attached_while_detaching" time="0.059" classname="attached_while_detaching">
    </testcase>
    <testcase name="realtime/channel detaching from suspended channel transitions channel to detached state" time="0.000" 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.085" classname="rewind works on channel after reattaching">
    </testcase>
    <testcase name="realtime/channel attach_returns_state_change" time="0.057" classname="attach_returns_state_change">
    </testcase>
    <testcase name="realtime/channel subscribe_returns_state_change" time="0.056" classname="subscribe_returns_state_change">
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_0" time="0.139" classname="rewind_has_backlog_0">
    </testcase>
    <testcase name="realtime/channel rewind_has_backlog_1" time="0.065" 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:37:20" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/connection.test.js" time="0.364" failures="0">
    <testcase name="realtime/connection connectionPing" time="0.044" classname="connectionPing">
    </testcase>
    <testcase name="realtime/connection connectionPingWithCallback" time="0.051" classname="connectionPingWithCallback">
    </testcase>
    <testcase name="realtime/connection connectionAttributes" time="0.067" classname="connectionAttributes">
    </testcase>
    <testcase name="realtime/connection unrecoverableConnection" time="0.050" classname="unrecoverableConnection">
    </testcase>
    <testcase name="realtime/connection connectionQueuing" time="0.104" classname="connectionQueuing">
    </testcase>
    <testcase name="realtime/connection connectionDetails" time="0.047" classname="connectionDetails">
    </testcase>
  </testsuite>
  <testsuite name="realtime/connectivity" timestamp="2024-02-26T13:37:21" 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.060" classname="http_connectivity_check">
    </testcase>
    <testcase name="realtime/connectivity disable_connectivity_check" time="0.000" classname="disable_connectivity_check">
    </testcase>
  </testsuite>
  <testsuite name="configured_connectivity_check_url" timestamp="2024-02-26T13:37:21" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/connectivity.test.js" time="0.387" failures="0">
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with scheme" time="0.075" classname="succeeds with scheme">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with scheme" time="0.074" classname="fails with scheme">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with querystring" time="0.075" classname="succeeds with querystring">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with querystring" time="0.076" classname="fails with querystring">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url succeeds with plain url" time="0.012" classname="succeeds with plain url">
    </testcase>
    <testcase name="realtime/connectivity configured_connectivity_check_url fails with plain url" time="0.075" classname="fails with plain url">
    </testcase>
  </testsuite>
  <testsuite name="realtime/crypto" timestamp="2024-02-26T13:37:21" tests="39" file="/home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" time="2.981" 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.001" classname="getDefaultParams_withResultOfGenerateRandomKey">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_ArrayBuffer_key" time="0.000" classname="getDefaultParams_ArrayBuffer_key">
    </testcase>
    <testcase name="realtime/crypto getDefaultParams_base64_key" time="0.001" 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.003" classname="encrypt_message_128">
    </testcase>
    <testcase name="realtime/crypto encrypt_message_256" time="0.023" classname="encrypt_message_256">
    </testcase>
    <testcase name="realtime/crypto decrypt_message_128" time="0.002" classname="decrypt_message_128">
    </testcase>
    <testcase name="realtime/crypto decrypt_message_256" time="0.016" classname="decrypt_message_256">
    </testcase>
    <testcase name="realtime/crypto fromEncoded_cipher_options" time="0.007" classname="fromEncoded_cipher_options">
    </testcase>
    <testcase name="realtime/crypto msgpack_128" time="0.004" classname="msgpack_128">
    </testcase>
    <testcase name="realtime/crypto msgpack_256" time="0.029" classname="msgpack_256">
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_binary_transport" time="0.076" classname="single_send_128_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_web_socket_text_transport" time="0.062" classname="single_send_128_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_comet_binary_transport" time="0.001" classname="single_send_128_with_comet_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_comet_text_transport" time="0.000" classname="single_send_128_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_128_with_text_transport" time="0.001" classname="single_send_128_with_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_web_socket_binary_transport" time="0.103" classname="single_send_256_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_web_socket_text_transport" time="0.066" classname="single_send_256_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/crypto single_send_256_with_comet_binary_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_2_200" time="0.268" classname="multiple_send_binary_2_200">
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_2_200" time="0.268" classname="multiple_send_text_2_200">
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_20_100" time="1.011" classname="multiple_send_binary_20_100">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_20_100" time="0.312" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_10_10" time="0.018" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_10_10" time="0.018" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto multiple_send_text_10_10" time="0.163" classname="multiple_send_text_10_10">
    </testcase>
    <testcase name="realtime/crypto single_send_binary_text" time="0.079" classname="single_send_binary_text">
    </testcase>
    <testcase name="realtime/crypto single_send_text_binary" time="0.067" classname="single_send_text_binary">
    </testcase>
    <testcase name="realtime/crypto publish_immediately" time="0.064" classname="publish_immediately">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/crypto publish_immediately" time="0.064" classname="publish_immediately">
      <failure message="done() called multiple times in test &lt;realtime/crypto publish_immediately&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto publish_immediately> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto single_send_key_mismatch" time="0.067" classname="single_send_key_mismatch">
    </testcase>
    <testcase name="realtime/crypto single_send_unencrypted" time="0.088" classname="single_send_unencrypted">
    </testcase>
    <testcase name="realtime/crypto single_send_encrypted_unhandled" time="0.078" classname="single_send_encrypted_unhandled">
    </testcase>
    <testcase name="realtime/crypto multiple_send_binary_20_100" time="1.011" classname="multiple_send_binary_20_100">
      <failure message="done() called multiple times in test &lt;realtime/crypto multiple_send_binary_20_100&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/crypto multiple_send_binary_20_100> of file /home/runner/work/ably-js/ably-js/test/realtime/crypto.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/crypto set_cipher_params0" time="0.089" classname="set_cipher_params0">
    </testcase>
  </testsuite>
  <testsuite name="realtime/delta" timestamp="2024-02-26T13:37:24" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/delta.test.js" time="0.695" failures="4">
    <testcase name="realtime/delta deltaPlugin" time="0.179" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta unusedPlugin" time="0.093" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta lastMessageNotFoundRecovery" time="0.144" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaDecodeFailureRecovery" time="0.279" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/encoding" timestamp="2024-02-26T13:37:25" tests="2" file="/home/runner/work/ably-js/ably-js/test/realtime/encoding.test.js" time="0.200" failures="1">
    <testcase name="realtime/encoding message_decoding" time="0.129" classname="message_decoding">
    </testcase>
    <testcase name="realtime/encoding message_encoding" time="0.069" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/event_emitter" timestamp="2024-02-26T13:37:25" tests="13" file="/home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" time="0.000" failures="1">
    <testcase name="realtime/event_emitter attachdetach0" time="0.010" classname="attachdetach0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter emitCallsAllCallbacksIgnoringExceptions" time="0.000" classname="emitCallsAllCallbacksIgnoringExceptions">
    </testcase>
    <testcase name="realtime/event_emitter onceCalledOnlyOnce" time="0.000" classname="onceCalledOnlyOnce">
    </testcase>
    <testcase name="realtime/event_emitter onceCallbackDoesNotImpactOnCallback" time="0.000" classname="onceCallbackDoesNotImpactOnCallback">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingListeners" time="0.000" classname="offRemovesAllMatchingListeners">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllListeners" time="0.000" classname="offRemovesAllListeners">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingEventListeners" time="0.001" classname="offRemovesAllMatchingEventListeners">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesAllMatchingEvents" time="0.000" classname="offRemovesAllMatchingEvents">
    </testcase>
    <testcase name="realtime/event_emitter offRemovesEmptyEventNameListeners" time="0.001" classname="offRemovesEmptyEventNameListeners">
    </testcase>
    <testcase name="realtime/event_emitter arrayOfEvents" time="0.000" classname="arrayOfEvents">
    </testcase>
    <testcase name="realtime/event_emitter arrayOfEventsWithOnce" time="0.001" classname="arrayOfEventsWithOnce">
    </testcase>
    <testcase name="realtime/event_emitter listenerAddedInListenerCb" time="0.000" classname="listenerAddedInListenerCb">
    </testcase>
    <testcase name="realtime/event_emitter listenerRemovedInListenerCb" time="0.001" classname="listenerRemovedInListenerCb">
    </testcase>
  </testsuite>
  <testsuite name="event_emitter_promise" timestamp="2024-02-26T13:37:25" tests="4" file="/home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" time="0.075" failures="3">
    <testcase name="realtime/crypto multiple_send_text_20_100" time="0.312" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise whenState" time="0.044" classname="whenState">
    </testcase>
    <testcase name="realtime/event_emitter attachdetach0" time="0.010" classname="attachdetach0">
      <failure message="done() called multiple times in test &lt;realtime/event_emitter attachdetach0&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/event_emitter attachdetach0> of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js
    at Object.<anonymous> (test/realtime/event_emitter.test.js:39:15)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise once" time="0.030" classname="once">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise anyEventsWithOnce" time="0.001" classname="anyEventsWithOnce">
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise arrayOfEventsWithOnce" time="0.000" classname="arrayOfEventsWithOnce">
    </testcase>
  </testsuite>
  <testsuite name="realtime/failure" timestamp="2024-02-26T13:37:25" tests="20" file="/home/runner/work/ably-js/ably-js/test/realtime/failure.test.js" time="2.162" failures="22">
    <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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/event_emitter event_emitter_promise once" time="0.030" classname="once">
      <failure message="done() called multiple times in test &lt;realtime/event_emitter event_emitter_promise once&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/event_emitter event_emitter_promise once> of file /home/runner/work/ably-js/ably-js/test/realtime/event_emitter.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure disconnected_backoff_web_socket" time="0.062" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure disconnected_backoff_comet" time="0.001" classname="disconnected_backoff_comet">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaPlugin" time="0.179" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure failed_channel" time="0.052" classname="failed_channel">
    </testcase>
    <testcase name="realtime/delta unusedPlugin" time="0.093" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/delta lastMessageNotFoundRecovery" time="0.144" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/encoding message_encoding" time="0.069" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure attach_timeout" time="0.326" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/delta deltaDecodeFailureRecovery" time="0.279" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure channel_backoff_web_socket" time="0.295" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure nack_on_connection_suspended" time="0.046" classname="nack_on_connection_suspended">
    </testcase>
    <testcase name="realtime/failure nack_on_connection_failed" time="0.045" classname="nack_on_connection_failed">
    </testcase>
    <testcase name="realtime/failure nack_on_connection_closed" time="0.042" classname="nack_on_connection_closed">
    </testcase>
    <testcase name="realtime/failure idle_transport_timeout" time="0.186" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure disconnected_backoff_web_socket" time="0.062" 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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure try_fallback_hosts_on_placement_constraint_with_web_socket_binary_transport" time="0.371" 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.292" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure channel_backoff_web_socket" time="0.295" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/failure no_messages_if_not_attached" time="0.430" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/history" timestamp="2024-02-26T13:37:27" tests="1" file="/home/runner/work/ably-js/ably-js/test/realtime/history.test.js" time="0.136" failures="1">
    <testcase name="realtime/history history_until_attach" time="0.135" classname="history_until_attach">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/init" timestamp="2024-02-26T13:37:27" tests="15" file="/home/runner/work/ably-js/ably-js/test/realtime/init.test.js" time="0.766" failures="11">
    <testcase name="realtime/init initbase0" time="0.043" classname="initbase0">
    </testcase>
    <testcase name="realtime/init init_key_string" time="0.000" classname="init_key_string">
    </testcase>
    <testcase name="realtime/history history_until_attach" time="0.135" classname="history_until_attach">
      <failure message="done() called multiple times in test &lt;realtime/history history_until_attach&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/history.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/history history_until_attach> of file /home/runner/work/ably-js/ably-js/test/realtime/history.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_token_string" time="0.303" classname="init_token_string">
    </testcase>
    <testcase name="realtime/init init_key_with_usetokenauth" time="0.032" classname="init_key_with_usetokenauth">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_key_with_usetokenauth" time="0.032" classname="init_key_with_usetokenauth">
      <failure message="done() called multiple times in test &lt;realtime/init init_key_with_usetokenauth&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_key_with_usetokenauth> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_usetokenauth_defaulttokenparams_wildcard" time="0.047" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_usetokenauth_defaulttokenparams_wildcard" time="0.047" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_defaulttokenparams_nonwildcard" time="0.045" classname="init_defaulttokenparams_nonwildcard">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_defaulttokenparams_nonwildcard" time="0.045" classname="init_defaulttokenparams_nonwildcard">
      <failure message="done() called multiple times in test &lt;realtime/init init_defaulttokenparams_nonwildcard&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_defaulttokenparams_nonwildcard> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_conflicting_clientids" time="0.105" 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.001" classname="init_timeouts">
    </testcase>
    <testcase name="realtime/init init_fallbacks" time="0.048" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_and_connection_details" time="0.003" classname="init_and_connection_details">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/init init_fallbacks_once_connected" time="0.050" classname="init_fallbacks_once_connected">
    </testcase>
    <testcase name="realtime/init init_and_connection_details" time="0.003" classname="init_and_connection_details">
      <failure message="done() called multiple times in test &lt;realtime/init init_and_connection_details&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/init init_and_connection_details> of file /home/runner/work/ably-js/ably-js/test/realtime/init.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/init init_fallbacks_once_connected_2" time="0.082" classname="init_fallbacks_once_connected_2">
    </testcase>
  </testsuite>
  <testsuite name="realtime/message" timestamp="2024-02-26T13:37:28" tests="35" file="/home/runner/work/ably-js/ably-js/test/realtime/message.test.js" time="2.724" failures="37">
    <testcase name="realtime/failure idle_transport_timeout" time="0.186" 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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/failure attach_timeout" time="0.326" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishonce" time="0.081" classname="publishonce">
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_binary_transport" time="0.003" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_text_transport" time="0.064" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)
    at runNextTicks (node:internal/process/task_queues:65:3)
    at processTimers (node:internal/timers:499:9)]]></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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_binary_transport" time="0.027" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)
    at runNextTicks (node:internal/process/task_queues:65:3)
    at processTimers (node:internal/timers:499:9)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_text_transport" time="0.387" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)
    at runNextTicks (node:internal/process/task_queues:65:3)
    at processTimers (node:internal/timers:499:9)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_comet_binary_transport" time="0.050" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_comet_text_transport" time="0.023" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_binary_transport" time="0.003" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishfast_with_web_socket_text_transport" time="0.064" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_binary_transport" time="0.025" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_text_transport" time="0.048" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishEcho" time="0.012" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publishEcho" time="0.012" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishVariations" time="0.117" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)
    at runNextTicks (node:internal/process/task_queues:65:3)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishDisallowed" time="0.057" classname="publishDisallowed">
    </testcase>
    <testcase name="realtime/message publishEncodings" time="0.120" classname="publishEncodings">
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_binary_transport" time="0.027" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publishQueued_with_web_socket_text_transport" time="0.387" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message restpublish" time="0.334" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_binary_transport" time="0.033" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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:559:17)
    at processTimers (node:internal/timers:502:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_binary_transport" time="0.033" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_web_socket_text_transport" time="0.591" classname="publish_with_web_socket_text_transport">
    </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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message publish_with_binary_transport" time="0.001" classname="publish_with_binary_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message implicit_client_id_0" time="0.062" classname="implicit_client_id_0">
    </testcase>
    <testcase name="realtime/message explicit_client_id_0" time="0.049" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_0" time="0.049" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message explicit_client_id_1" time="0.225" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribe_with_event_array" time="0.046" classname="subscribe_with_event_array">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribe_with_event_array" time="0.046" classname="subscribe_with_event_array">
      <failure message="done() called multiple times in test &lt;realtime/message subscribe_with_event_array&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/message subscribe_with_event_array> of file /home/runner/work/ably-js/ably-js/test/realtime/message.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribe_with_filter_object" time="0.069" classname="subscribe_with_filter_object">
    </testcase>
    <testcase name="realtime/message unsubscribe_with_filter_object" time="0.013" classname="unsubscribe_with_filter_object">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/message unsubscribe_with_filter_object" time="0.013" classname="unsubscribe_with_filter_object">
      <failure message="done() called multiple times in test &lt;realtime/message unsubscribe_with_filter_object&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 unsubscribe_with_filter_object> 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message extras_field" time="0.071" classname="extras_field">
    </testcase>
    <testcase name="realtime/message maxMessageSize" time="0.042" classname="maxMessageSize">
    </testcase>
    <testcase name="realtime/message idempotentRealtimePublishing" time="0.074" classname="idempotentRealtimePublishing">
    </testcase>
    <testcase name="realtime/message explicit_client_id_1" time="0.225" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message subscribes to filtered channel" time="0.089" classname="subscribes to filtered channel">
    </testcase>
  </testsuite>
  <testsuite name="realtime/presence" timestamp="2024-02-26T13:37:31" tests="35" file="/home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" time="5.294" failures="27">
    <testcase name="realtime/presence presenceEnterWithoutAttach" time="0.140" classname="presenceEnterWithoutAttach">
    </testcase>
    <testcase name="realtime/message publishVariations" time="0.117" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterWithoutConnect" time="0.114" classname="presenceEnterWithoutConnect">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithCallback" time="0.118" classname="presenceEnterWithCallback">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithNothing" time="0.121" classname="presenceEnterWithNothing">
    </testcase>
    <testcase name="realtime/presence presenceEnterWithData" time="0.128" classname="presenceEnterWithData">
    </testcase>
    <testcase name="realtime/presence presenceMessageAction" time="0.067" classname="presenceMessageAction">
    </testcase>
    <testcase name="realtime/presence presenceMessageExtras" time="0.079" classname="presenceMessageExtras">
    </testcase>
    <testcase name="realtime/presence presenceEnterDetachEnter" time="0.241" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterInvalid" time="0.050" classname="presenceEnterInvalid">
    </testcase>
    <testcase name="realtime/presence presenceEnterAndLeave" time="0.022" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterAndLeave" time="0.022" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterDetachEnter" time="0.241" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterUpdate" time="0.624" classname="presenceEnterUpdate">
    </testcase>
    <testcase name="realtime/presence presenceEnterGet" time="0.109" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterGet" time="0.109" classname="presenceEnterGet">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterGet&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterGet> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSubscribeUnattached" time="0.106" classname="presenceSubscribeUnattached">
    </testcase>
    <testcase name="realtime/presence presenceGetUnattached" time="0.132" classname="presenceGetUnattached">
    </testcase>
    <testcase name="realtime/presence presenceEnterLeaveGet" time="0.616" classname="presenceEnterLeaveGet">
    </testcase>
    <testcase name="realtime/presence presenceHistory" time="0.098" classname="presenceHistory">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSecondConnection" time="0.076" classname="presenceSecondConnection">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceSecondConnection" time="0.076" classname="presenceSecondConnection">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceSecondConnection&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceSecondConnection> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceTwoMembers" time="0.134" classname="presenceTwoMembers">
    </testcase>
    <testcase name="realtime/failure no_messages_if_not_attached" time="0.430" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterAfterClose" time="0.118" classname="presenceEnterAfterClose">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEnterClosed" time="0.033" classname="presenceEnterClosed">
    </testcase>
    <testcase name="realtime/presence presenceEnterAfterClose" time="0.118" classname="presenceEnterAfterClose">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceEnterAfterClose&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceEnterAfterClose> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceHistory" time="0.098" classname="presenceHistory">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceHistory&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceHistory> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/message restpublish" time="0.334" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceClientIdIsImplicit" time="0.557" classname="presenceClientIdIsImplicit">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceClientIdIsImplicit" time="0.557" classname="presenceClientIdIsImplicit">
      <failure message="done() called multiple times in test &lt;realtime/presence presenceClientIdIsImplicit&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presenceClientIdIsImplicit> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:60:7
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presenceEncoding" time="0.115" classname="presenceEncoding">
    </testcase>
    <testcase name="realtime/presence presence_enter_inherited_clientid" time="0.084" classname="presence_enter_inherited_clientid">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_inherited_clientid" time="0.084" classname="presence_enter_inherited_clientid">
      <failure message="done() called multiple times in test &lt;realtime/presence presence_enter_inherited_clientid&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/presence presence_enter_inherited_clientid> of file /home/runner/work/ably-js/ably-js/test/realtime/presence.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_enter_before_know_clientid" time="0.634" classname="presence_enter_before_know_clientid">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_refresh_on_detach" time="0.143" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_detach_during_sync" time="0.085" classname="presence_detach_during_sync">
    </testcase>
    <testcase name="realtime/presence presence_auto_reenter" time="0.019" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence multiple_pending" time="0.131" classname="multiple_pending">
    </testcase>
    <testcase name="realtime/presence leave_published_for_member_missing_from_sync" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_auto_reenter" time="0.019" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence leave_published_for_members_on_presenceless_attached" time="0.136" classname="leave_published_for_members_on_presenceless_attached">
    </testcase>
    <testcase name="realtime/presence presence_refresh_on_detach" time="0.143" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/presence suspended_preserves_presence" time="0.182" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_many_updates" time="0.051" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/reauth" timestamp="2024-02-26T13:37:36" tests="24" file="/home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" time="6.619" failures="25">
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport" time="0.121" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport" time="0.074" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport" time="0.074" classname="reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport">
      <failure message="done() called multiple times in test &lt;realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/reauth reauthCapabilityUpgradeNewChannel_with_web_socket_text_transport> of file /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js
    at /home/runner/work/ably-js/ably-js/test/realtime/reauth.test.js:196:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:1209:30
    at Object.<anonymous> (test/realtime/reauth.test.js:40:11)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_comet_binary_transport" time="0.073" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_comet_text_transport" time="0.212" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_binary_transport" time="0.199" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeNewChannel_with_text_transport" time="0.281" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence suspended_preserves_presence" time="0.182" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport" time="0.022" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_binary_transport" time="0.022" 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 Object.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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport" time="0.094" classname="reauthCapabilityDowngradeFullChannel_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_comet_binary_transport" time="0.969" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_comet_text_transport" time="0.097" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_binary_transport" time="0.253" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradeFullChannel_with_text_transport" time="1.197" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_binary_transport" time="0.100" classname="reauthCapabilityUpgradeAddPublish_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport" time="0.096" classname="reauthCapabilityUpgradeAddPublish_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_comet_binary_transport" time="0.079" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_comet_text_transport" time="0.205" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_binary_transport" time="0.363" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/presence presence_many_updates" time="0.051" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityUpgradeAddPublish_with_text_transport" time="0.346" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_binary_transport" time="0.123" classname="reauthCapabilityDowngradePublish_with_web_socket_binary_transport">
    </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 Object.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 processTicksAndRejections (node:internal/process/task_queues:78: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 Object.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 processTicksAndRejections (node:internal/process/task_queues:78: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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport" time="0.063" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_web_socket_text_transport" time="0.063" 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 Object.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 processTicksAndRejections (node:internal/process/task_queues:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_comet_binary_transport" time="0.159" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_comet_text_transport" time="0.010" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_binary_transport" time="1.464" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/reauth reauthCapabilityDowngradePublish_with_text_transport" time="0.010" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/resume" timestamp="2024-02-26T13:37:43" tests="25" file="/home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" time="13.361" failures="23">
    <testcase name="realtime/resume resume_inactive_with_web_socket_binary_transport" time="6.564" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_text_transport" time="0.724" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_comet_binary_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_comet_text_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_binary_transport" time="0.242" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_web_socket_text_transport" time="0.443" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_comet_binary_transport" time="0.002" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_active_with_comet_text_transport" time="0.001" classname="resume_active_with_comet_text_transport">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_web_socket_binary_transport" time="0.078" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_web_socket_binary_transport" time="0.078" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_web_socket_text_transport" time="0.093" classname="resume_lost_continuity_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_comet_binary_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_lost_continuity_with_comet_text_transport" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_binary_transport" time="0.624" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_text_transport" time="0.139" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_binary_transport" time="0.624" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_comet_binary_transport" time="0.615" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_web_socket_text_transport" time="0.139" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_inactive_with_web_socket_binary_transport" time="6.564" 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 Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_token_error_with_comet_text_transport" time="2.882" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_binary_transport" time="0.069" classname="resume_fatal_error_with_web_socket_binary_transport">
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_web_socket_text_transport" time="0.068" classname="resume_fatal_error_with_web_socket_text_transport">
    </testcase>
    <testcase name="realtime/resume resume_fatal_error_with_comet_binary_transport" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume channel_resumed_flag" time="0.104" classname="channel_resumed_flag">
    </testcase>
    <testcase name="realtime/resume no_resume_once_suspended" time="0.034" classname="no_resume_once_suspended">
    </testcase>
    <testcase name="realtime/resume no_resume_last_activity" time="0.033" classname="no_resume_last_activity">
    </testcase>
    <testcase name="realtime/resume resume_rewind_1" time="0.506" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/resume recover multiple channels" time="0.130" classname="recover multiple channels">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/sync" timestamp="2024-02-26T13:37:56" tests="6" file="/home/runner/work/ably-js/ably-js/test/realtime/sync.test.js" time="0.075" failures="1">
    <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.063" classname="presence_sync_interruptus">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="realtime/upgrade" timestamp="2024-02-26T13:37:56" tests="14" file="/home/runner/work/ably-js/ably-js/test/realtime/upgrade.test.js" time="0.016" failures="14">
    <testcase name="realtime/upgrade publishpreupgrade" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade publishpostupgrade1" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradepublish1" time="0.004" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradebase0" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat0" time="0.000" classname="upgradeheartbeat0">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat2" time="0.001" classname="upgradeheartbeat2">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade upgradeheartbeat3" time="0.000" classname="upgradeheartbeat3">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade unrecoverableUpgrade" time="0.000" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade message_timeout_stalling_upgrade" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/upgrade persist_transport_prefs" time="0.001" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78: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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
  <testsuite name="incremental backoff and jitter" timestamp="2024-02-26T13:37:56" tests="1" file="/home/runner/work/ably-js/ably-js/test/realtime/utils.test.js" time="0.009" failures="0">
    <testcase name="incremental backoff and jitter should calculate retry timeouts using incremental backoff and jitter" time="0.003" classname="should calculate retry timeouts using incremental backoff and jitter">
    </testcase>
  </testsuite>
  <testsuite name="rest/api" timestamp="2024-02-26T13:37:56" tests="4" file="/home/runner/work/ably-js/ably-js/test/rest/api.test.js" time="0.001" failures="0">
    <testcase name="rest/api Client constructors" time="0.001" classname="Client constructors">
    </testcase>
    <testcase name="rest/api Crypto" time="0.000" classname="Crypto">
    </testcase>
    <testcase name="rest/api Message" time="0.000" classname="Message">
    </testcase>
    <testcase name="rest/api PresenceMessage" time="0.000" classname="PresenceMessage">
    </testcase>
  </testsuite>
  <testsuite name="rest/auth" timestamp="2024-02-26T13:37:56" tests="32" file="/home/runner/work/ably-js/ably-js/test/rest/auth.test.js" time="0.544" failures="4">
    <testcase name="rest/auth Base token generation case" time="0.011" classname="Base token generation case">
    </testcase>
    <testcase name="rest/auth Base token generation with options" time="0.013" classname="Base token generation with options">
    </testcase>
    <testcase name="rest/auth Generate token and init library with it" time="0.018" classname="Generate token and init library with it">
    </testcase>
    <testcase name="rest/auth Token generation with explicit timestamp" time="0.040" classname="Token generation with explicit timestamp">
    </testcase>
    <testcase name="rest/auth Token generation with invalid timestamp" time="0.011" classname="Token generation with invalid timestamp">
    </testcase>
    <testcase name="rest/auth Token generation with system timestamp" time="0.010" classname="Token generation with system timestamp">
    </testcase>
    <testcase name="realtime/resume recover multiple channels" time="0.130" classname="recover multiple channels">
      <failure message="done() called multiple times in test &lt;realtime/resume recover multiple channels&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/resume recover multiple channels> of file /home/runner/work/ably-js/ably-js/test/realtime/resume.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="rest/auth Token generation with duplicate nonce" time="0.056" classname="Token generation with duplicate nonce">
    </testcase>
    <testcase name="rest/auth Token generation with clientId" time="0.011" classname="Token generation with clientId">
    </testcase>
    <testcase name="rest/auth Token generation with empty string clientId should error" time="0.000" classname="Token generation with empty string clientId should error">
    </testcase>
    <testcase name="rest/auth Token generation with capability that subsets key capability" time="0.018" classname="Token generation with capability that subsets key capability">
    </testcase>
    <testcase name="rest/auth Token generation with specified key" time="0.280" classname="Token generation with specified key">
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth" time="0.011" classname="Token generation with explicit auth">
    </testcase>
    <testcase name="rest/auth Token generation with explicit auth" time="0.011" classname="Token generation with explicit auth">
      <failure message="Class constructor CometTransport cannot be invoked without &apos;new&apos;" type="TypeError"><![CDATA[TypeError: Class constructor CometTransport cannot be invoked without 'new'
    at new NodeCometTransport (build/ably-node.js:10613:35)
    at Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
    <testcase name="realtime/sync presence_sync_interruptus" time="0.063" classname="presence_sync_interruptus">
      <failure message="done() called multiple times in test &lt;realtime/sync presence_sync_interruptus&gt; of file /home/runner/work/ably-js/ably-js/test/realtime/sync.test.js" type="Error"><![CDATA[Error: done() called multiple times in test <realtime/sync presence_sync_interruptus> of file /home/runner/work/ably-js/ably-js/test/realtime/sync.test.js
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:134:11
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:726:13
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:52:16
    at done (node_modules/async/lib/async.js:246:17)
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:44:16
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:723:17
    at /home/runner/work/ably-js/ably-js/node_modules/async/lib/async.js:167:37
    at /home/runner/work/ably-js/ably-js/test/common/modules/shared_helper.js:123:13
    at Object.<anonymous> (test/common/modules/shared_helper.js:107:7)
    at callListener (build/ably-node.js:8844:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:9012:13
    at Array.forEach (<anonymous>)
    at Object.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 WebSocket.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:513: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:525:35)
    at node:net:301:12
    at TCP.done (node:_tls_wrap:588:7)]]></failure>
    </testcase>
    <testcase name="&quot;after all&quot; hook in &quot;{root}&quot;" time="0.050" 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 Function.tryConnect (build/ably-node.js:7409:27)
    at ConnectionManager.tryATransport (build/ably-node.js:5717:29)
    at ConnectionManager.connectBase (build/ably-node.js:6625:14)
    at ConnectionManager.connectImpl (build/ably-node.js:6513:18)
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:6448:22
    at /home/runner/work/ably-js/ably-js/build/ably-node.js:5706:13
    at decideMode (build/ably-node.js:5692:13)
    at ConnectionManager.getTransportParams (build/ably-node.js:5694:9)
    at connect (build/ably-node.js:6438:18)
    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:78:11)]]></failure>
    </testcase>
  </testsuite>
</testsuites>