feat: new endpoint for restoring soft deleted activities #597
test.yml
on: pull_request
lint
30s
test-bun
1m 22s
Matrix: test-node
Annotations
11 errors
|
test-node (22)
Process completed with exit code 1.
|
|
__tests__/command.test.ts > commands CRUD API > delete:
src/ApiClient.ts#L91
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command546e9ed0-ca4c-4927-be9f-28d6c8fc31d4" does not exist"
❯ ApiClient.sendRequest src/ApiClient.ts:91:15
❯ StreamChatClient.deleteCommand src/gen/chat/ChatApi.ts:1135:22
❯ __tests__/command.test.ts:41:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: 'ae3394aa-a960-4ae0-b643-217981db8ddd', responseHeaders: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59995, rateLimitReset: '2026-01-29T09:03:00.000Z' } }, code: 16 }
|
|
__tests__/command.test.ts > commands CRUD API > delete:
src/ApiClient.ts#L91
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command546e9ed0-ca4c-4927-be9f-28d6c8fc31d4" does not exist"
❯ ApiClient.sendRequest src/ApiClient.ts:91:15
❯ StreamChatClient.deleteCommand src/gen/chat/ChatApi.ts:1135:22
❯ __tests__/command.test.ts:41:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '0feae329-4113-4fc1-b4db-59fb7bc06108', responseHeaders: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59996, rateLimitReset: '2026-01-29T09:03:00.000Z' } }, code: 16 }
|
|
__tests__/command.test.ts > commands CRUD API > delete:
src/ApiClient.ts#L91
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command546e9ed0-ca4c-4927-be9f-28d6c8fc31d4" does not exist"
❯ ApiClient.sendRequest src/ApiClient.ts:91:15
❯ StreamChatClient.deleteCommand src/gen/chat/ChatApi.ts:1135:22
❯ __tests__/command.test.ts:41:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: 'b9641024-eebe-4d13-a3c3-5fdaa68a4446', responseHeaders: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59997, rateLimitReset: '2026-01-29T09:03:00.000Z' } }, code: 16 }
|
|
__tests__/command.test.ts > commands CRUD API > delete:
__tests__/command.test.ts#L47
AssertionError: promise resolved "{ …(8) }" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Object {
+ "args": "",
+ "created_at": 2026-01-29T09:02:27.730Z,
+ "description": "Updated descrpition",
+ "duration": "9.84ms",
+ "metadata": Object {
+ "clientRequestId": "d67e2ad6-c94c-47a6-bab5-b25c61e3adbd",
+ "rateLimit": Object {
+ "rateLimit": 60000,
+ "rateLimitRemaining": 59998,
+ "rateLimitReset": 2026-01-29T09:03:00.000Z,
+ },
+ "responseCode": 200,
+ "responseHeaders": Headers {},
+ },
+ "name": "stream-node-test-command546e9ed0-ca4c-4927-be9f-28d6c8fc31d4",
+ "set": "",
+ "updated_at": 2026-01-29T09:02:29.213Z,
+ }
❯ __tests__/command.test.ts:47:5
|
|
test-node (24)
The strategy configuration was canceled because "test-node._22" failed
|
|
test-node (24)
The operation was canceled.
|
|
test-node (20)
The strategy configuration was canceled because "test-node._22" failed
|
|
test-node (20)
The operation was canceled.
|
|
test-node (18)
The strategy configuration was canceled because "test-node._22" failed
|
|
test-node (18)
The operation was canceled.
|