Live communication and production mobile setup #5
Annotations
3 errors and 1 warning
|
validate
Process completed with exit code 1.
|
|
test/api-client.test.ts > API error messages > sends an authenticated account-deletion request:
test/api-client.test.ts#L137
AssertionError: expected "spy" to be called with arguments: [ 'http://localhost:3000/me', …(1) ]
Received:
1st spy call:
[
- "http://localhost:3000/me",
- ObjectContaining {
+ "https://backend.ruffl.thomaswhite.me/me",
+ {
"body": "{}",
- "headers": ObjectContaining {
+ "headers": {
+ "Accept": "application/json",
"Authorization": "***",
+ "Content-Type": "application/json",
},
"method": "DELETE",
},
]
Number of calls: 1
❯ test/api-client.test.ts:137:23
|
|
test/api-client.test.ts > API error messages > sends uploaded attachment metadata with a message:
test/api-client.test.ts#L120
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
[
- "http://localhost:3000/conversations/conversation-one/messages",
- ObjectContaining {
+ "https://backend.ruffl.thomaswhite.me/conversations/conversation-one/messages",
+ {
"body": "{\"text\":\"\",\"attachments\":[{\"url\":\"https://media.example.test/uploads/user-one/image.png\",\"name\":\"image.png\",\"contentType\":\"image/png\"}]}",
+ "headers": {
+ "Accept": "application/json",
+ "Authorization": "***",
+ "Content-Type": "application/json",
+ },
"method": "POST",
},
]
Number of calls: 1
❯ test/api-client.test.ts:120:23
|
|
validate
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|