Materialisation: Add message deletion functionality to Chat #1564
dev.yml
on: pull_request
audit
28s
format-check
27s
lint
39s
test-typescript
24s
test
1m 34s
build
26s
demo-app
1m 6s
Annotations
11 errors and 14 warnings
format-check
Process completed with exit code 1.
|
test/core/chat-api.test.ts > config > calls the api with the correct protocol version:
test/core/chat-api.test.ts#L30
AssertionError: expected "request" to be called with arguments: [ 'GET', …(4) ]
Received:
1st request call:
Array [
"GET",
"/chat/v1/rooms/test/occupancy",
3,
- Object {},
+ undefined,
undefined,
]
Number of calls: 1
❯ test/core/chat-api.test.ts:30:34
❯ test/core/chat-api.test.ts:23:5
|
test/core/chat.integration.test.ts > Chat > should work using basic auth:
test/core/chat.integration.test.ts#L60
AssertionError: expected { connections: 1, presenceMembers: +0 } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
- "connections": 0,
+ Object {
+ "connections": 1,
"presenceMembers": 0,
}
❯ test/core/chat.integration.test.ts:60:23
|
test/core/chat.integration.test.ts > Chat > should work using msgpack:
test/core/chat.integration.test.ts#L79
AssertionError: expected { connections: 1, presenceMembers: +0 } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
- "connections": 0,
+ Object {
+ "connections": 1,
"presenceMembers": 0,
}
❯ test/core/chat.integration.test.ts:79:23
|
test/core/messages.integration.test.ts > messages integration > should be able to send and receive chat messages:
test/core/messages.integration.test.ts#L29
Error: Timed out waiting for messages
❯ Timeout._onTimeout test/core/messages.integration.test.ts:29:14
|
test/core/messages.integration.test.ts > messages integration > should be able to delete and receive deletion messages:
src/core/chat-api.ts#L146
Error: not found
❯ ChatApi._makeAuthorizedRequest src/core/chat-api.ts:146:13
❯ DefaultMessages.delete src/core/messages.ts:539:22
❯ test/core/messages.integration.test.ts:112:29
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 40400, statusCode: 404 }
|
test/core/messages.integration.test.ts > messages integration > should be able to retrieve chat deletion history:
src/core/chat-api.ts#L146
Error: not found
❯ ChatApi._makeAuthorizedRequest src/core/chat-api.ts:146:13
❯ DefaultMessages.delete src/core/messages.ts:539:22
❯ test/core/messages.integration.test.ts:187:29
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 40400, statusCode: 404 }
|
test/core/messages.integration.test.ts > messages integration > should be able to send, receive and query chat messages with metadata and headers:
test/core/messages.integration.test.ts#L29
Error: Timed out waiting for messages
❯ Timeout._onTimeout test/core/messages.integration.test.ts:29:14
|
test/react/hooks/use-messages.integration.test.tsx > useMessages > should send messages correctly:
test/react/hooks/use-messages.integration.test.tsx#L22
Error: Timed out waiting for messages
❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:22:14
|
test/react/hooks/use-messages.integration.test.tsx > useMessages > should delete messages correctly:
test/react/hooks/use-messages.integration.test.tsx#L22
Error: Timed out waiting for messages
❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:22:14
|
test/react/hooks/use-messages.integration.test.tsx > useMessages > should receive messages on a subscribed listener:
test/react/hooks/use-messages.integration.test.tsx#L22
Error: Timed out waiting for messages
❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:22:14
|
test-typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-typescript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
format-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
format-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
audit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
demo-app
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
demo-app
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|