Skip to content

feat: offline support rework #1763

feat: offline support rework

feat: offline support rework #1763

Triggered via pull request May 27, 2025 07:37
Status Success
Total duration 53s
Artifacts

unit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Unhandled error: test/unit/connection_fallback.test.js#L240
Error: Error ❯ Object.rejects node_modules/sinon/pkg/sinon-esm.js:960:22 ❯ Object.proto.<computed> [as rejects] node_modules/sinon/pkg/sinon-esm.js:616:12 ❯ test/unit/connection_fallback.test.js:240:6 ❯ node_modules/@vitest/runner/dist/index.js:103:11 ❯ node_modules/@vitest/runner/dist/index.js:596:26 ❯ node_modules/@vitest/runner/dist/index.js:879:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:852:10 ❯ runTest node_modules/@vitest/runner/dist/index.js:1360:12 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 This error originated in "test/unit/connection_fallback.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: test/unit/connection_fallback.test.js#L238
Error: Error ❯ Object.rejects node_modules/sinon/pkg/sinon-esm.js:960:22 ❯ Object.proto.<computed> [as rejects] node_modules/sinon/pkg/sinon-esm.js:616:12 ❯ test/unit/connection_fallback.test.js:238:6 ❯ node_modules/@vitest/runner/dist/index.js:103:11 ❯ node_modules/@vitest/runner/dist/index.js:596:26 ❯ node_modules/@vitest/runner/dist/index.js:879:20 ❯ runWithTimeout node_modules/@vitest/runner/dist/index.js:852:10 ❯ runTest node_modules/@vitest/runner/dist/index.js:1360:12 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 This error originated in "test/unit/connection_fallback.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/token_manager.ts#L152
Error: Both secret and user tokens are not set. Either client.connectUser wasn't called or client.disconnect was called ❯ TokenManager.getToken src/token_manager.ts:152:11 ❯ StreamChat._getToken src/client.ts:3311:30 ❯ StreamChat._enrichAxiosOptions src/client.ts:3266:24 ❯ StreamChat.doAxiosRequest src/client.ts:1149:32 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ❯ Channel.query src/channel.ts:1409:19 This error originated in "test/unit/channel.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.