Skip to content

chore: typo in engines declaration (#55) #193

chore: typo in engines declaration (#55)

chore: typo in engines declaration (#55) #193

Triggered via push September 17, 2024 08:23
Status Failure
Total duration 1m 47s
Artifacts

test.yml

on: push
Matrix: test-node
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 3 warnings
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '10ba3bd8-d5ea-48ad-89b1-61da1e59c8b2', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '3a20c3fa-063d-4425-95a0-b872cde8ff41', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '2bf374cb-d134-4ab5-a057-3ce5f745cc0b', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '3992a38f-4a0e-4096-ab05-fc6a7d2fe879', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '266a58c2-d7eb-4c4c-b5d3-734afac9443e', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '7090b9d4-5903-4ec5-a228-47c6c77d8c6c', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '071ce081-dd06-431f-9437-397d59b9264b', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '712c365f-9d3c-4234-a3e5-a81a2fb2b65a', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5489:19)\n at successSteps (node:internal/deps/undici/undici:5470:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at consumeBody (node:internal/deps/undici/undici:5479:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
test-node (22)
Process completed with exit code 1.
test-node (18)
The job was canceled because "_22" failed.
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '36e7aedd-f1eb-40d2-8048-0d37d174be43', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected token p in JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected token p in JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '2dfec2ce-66a1-4ee1-bb55-60b496bfa572', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected token p in JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected token p in JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '4d1aef93-59be-4b3e-90e5-62176978d432', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected token p in JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected token p in JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '7c687b9a-dceb-4ffa-bee2-f21dc97f4c69', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected token p in JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected token p in JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '29fbb01f-11ac-46f0-853f-82656938dfc4', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'a6bdaae9-e0dd-404b-b147-03c92c5a701c', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'ca47304f-4830-4113-bd26-3b2553ddd5b7', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '1d5622d3-5ae4-4903-8341-78c6aa2db52b', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)\n at successSteps (node:internal/deps/undici/undici:5555:27)\n at fullyReadBody (node:internal/deps/undici/undici:1665:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at specConsumeBody (node:internal/deps/undici/undici:5564:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
test-node (18)
Process completed with exit code 1.
test-node (20)
The job was canceled because "_22" failed.
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '65f5e2c7-cd44-44c7-9237-851b9e85cca1', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '933d3342-e72f-43ab-89d4-78d991a1f505', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '67b717f2-9e0d-48d8-8da2-c80af441b8a7', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '29a0b5c8-8693-41b8-bcad-4d5720a5caf2', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'e03e4c3d-e0c4-4263-bf17-c4ef698bc2a7', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '6b13309d-9092-45b9-819a-37b80302cc3d', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '31b3d231-19a8-492c-a390-b6a180cccaf2', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '4b3d260f-57e7-4a1d-a76a-9e71dd8fa1ed', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
test-node (20)
Process completed with exit code 1.
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '8188ccf6-dc11-4680-bc8d-526a736beed4', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '16c319ba-8509-48b6-9163-82e085d7da28', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'd35ddabc-972f-4239-a23c-8ed75e5cd304', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamChatClient.ChatApi.queryBannedUsers src/gen/chat/ChatApi.ts:1699:22 ❯ __tests__/users.test.ts:106:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '02980cc5-fad1-485a-9a83-18388b89d19e', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected non-whitespace character after JSON at position 4\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamChatClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamChatClient.ChatApi.queryBannedUsers (/home/runner/work/stream-node/stream-node/src/gen/chat/ChatApi.ts:1699:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:106:25\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected non-whitespace character after JSON at position 4', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'de2767d2-6652-4b9a-be29-2c3ba05e3c82', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '80bf99a1-ea21-480a-b142-48271ba02f77', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: '2f8bf187-c62c-493a-b2a1-2fba7ce0b8a9', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
__tests__/users.test.ts > user API > block and unblock: src/BaseApi.ts#L83
Error: The request failed due to an unexpected error ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:83:15 ❯ StreamClient.CommonApi.blockUsers src/gen/common/CommonApi.ts:822:22 ❯ __tests__/users.test.ts:152:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { metadata: { clientRequestId: 'ad2a7057-92fe-4935-9c42-3da45e963570', responseCode: undefined }, code: { stack: 'SyntaxError: Unexpected end of JSON input\n at JSON.parse (<anonymous>)\n at parseJSONFromBytes (node:internal/deps/undici/undici:5472:19)\n at successSteps (node:internal/deps/undici/undici:5454:27)\n at fullyReadBody (node:internal/deps/undici/undici:4381:9)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at consumeBody (node:internal/deps/undici/undici:5463:7)\n at StreamClient.BaseApi.sendRequest (/home/runner/work/stream-node/stream-node/src/BaseApi.ts:55:24)\n at StreamClient.CommonApi.blockUsers (/home/runner/work/stream-node/stream-node/src/gen/common/CommonApi.ts:822:22)\n at /home/runner/work/stream-node/stream-node/__tests__/users.test.ts:152:27\n at runTest (file:///home/runner/work/stream-node/stream-node/node_modules/@vitest/runner/dist/index.js:719:11)', message: 'Unexpected end of JSON input', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' } }
test-bun
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-node (22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-bun
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/