context menu separators #144
Annotations
2 errors and 1 warning
tests/components/chat_area.test.ts > Context menu delete:
tests/components/chat_area.test.ts#L142
AssertionError: expected "spy" to be called with arguments: [ 'deleteChat', …(1) ]
Received:
1st spy call:
Array [
- "deleteChat",
- Object {
- "createdAt": 1725550987618,
- "deleted": false,
- "engine": "mock",
- "lastModified": 1725550987618,
- "messages": Array [
- Object {
- "attachment": null,
- "content": "Hello",
- "createdAt": 1725550987618,
- "role": "system",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fbb9f71d-e040-4a1f-844d-f68a5cebc6fc",
- },
- Object {
- "attachment": null,
- "content": "Hi",
- "createdAt": 1725550987618,
- "role": "user",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fcfc65cb-6acc-479b-b7c8-b2eebc7470c9",
- },
- ],
- "model": "chat",
- "title": "New Chat",
- "uuid": "8e6b4ce1-8109-44fb-a778-43101bc938c5",
- },
+ "promptResize",
+ "0px",
]
2nd spy call:
Array [
- "deleteChat",
- Object {
- "createdAt": 1725550987618,
- "deleted": false,
- "engine": "mock",
- "lastModified": 1725550987618,
- "messages": Array [
- Object {
- "attachment": null,
- "content": "Hello",
- "createdAt": 1725550987618,
- "role": "system",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fbb9f71d-e040-4a1f-844d-f68a5cebc6fc",
- },
- Object {
- "attachment": null,
- "content": "Hi",
- "createdAt": 1725550987618,
- "role": "user",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fcfc65cb-6acc-479b-b7c8-b2eebc7470c9",
- },
- ],
- "model": "chat",
- "title": "New Chat",
- "uuid": "8e6b4ce1-8109-44fb-a778-43101bc938c5",
- },
+ "promptResize",
+ "0px",
]
3rd spy call:
Array [
- "deleteChat",
- Object {
- "createdAt": 1725550987618,
- "deleted": false,
- "engine": "mock",
- "lastModified": 1725550987618,
- "messages": Array [
- Object {
- "attachment": null,
- "content": "Hello",
- "createdAt": 1725550987618,
- "role": "system",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fbb9f71d-e040-4a1f-844d-f68a5cebc6fc",
- },
- Object {
- "attachment": null,
- "content": "Hi",
- "createdAt": 1725550987618,
- "role": "user",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fcfc65cb-6acc-479b-b7c8-b2eebc7470c9",
- },
- ],
- "model": "chat",
- "title": "New Chat",
- "uuid": "8e6b4ce1-8109-44fb-a778-43101bc938c5",
- },
+ "promptResize",
+ "0px",
]
4th spy call:
Array [
- "deleteChat",
- Object {
- "createdAt": 1725550987618,
- "deleted": false,
- "engine": "mock",
- "lastModified": 1725550987618,
- "messages": Array [
- Object {
- "attachment": null,
- "content": "Hello",
- "createdAt": 1725550987618,
- "role": "system",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fbb9f71d-e040-4a1f-844d-f68a5cebc6fc",
- },
- Object {
- "attachment": null,
- "content": "Hi",
- "createdAt": 1725550987618,
- "role": "user",
- "toolCall": null,
- "transient": false,
- "type": "text",
- "uuid": "fcfc65cb-6acc-479b-b7c8-b2eebc7470c9",
- },
- ],
- "model": "chat",
- "title": "New Chat",
- "uuid": "8e6b4ce1-8109-44fb-a778-43101bc938c5",
- },
+ "promptResize",
+ "0px",
]
5th spy call:
Array [
- "deleteChat",
- Object {
- "createdAt": 1725550987618,
- "deleted": false,
- "engine": "mock",
- "lastModified": 1725550987618,
- "messages": Array [
- Objec
|
build
Process completed with exit code 1.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: JesseTG/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|