feat: add maestro:// deep link protocol and clickable OS notifications #266
ci.yml
on: pull_request
lint-and-format
2m 39s
test
9m 34s
Annotations
11 errors
|
lint-and-format
Process completed with exit code 1.
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast OS notification body variants > builds body with no prefix when no metadata:
src/__tests__/renderer/stores/notificationStore.test.ts#L718
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'Finished.' ]
Received:
1st vi.fn() call:
[
"Done",
"Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:718:21
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast OS notification body variants > builds body with group + project + tabName:
src/__tests__/renderer/stores/notificationStore.test.ts#L709
AssertionError: expected "vi.fn()" to be called with arguments: [ 'MyAgent', …(1) ]
Received:
1st vi.fn() call:
[
"MyAgent",
"Backend > Tab2: Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:709:21
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > extracts first sentence from message:
src/__tests__/renderer/stores/notificationStore.test.ts#L452
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'First sentence.' ]
Received:
1st vi.fn() call:
[
"Done",
"First sentence.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:452:22
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > uses short agentSessionId when no tabName:
src/__tests__/renderer/stores/notificationStore.test.ts#L443
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'abcdefgh: Finished.' ]
Received:
1st vi.fn() call:
[
"Done",
"abcdefgh: Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:443:22
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > builds body with group > tab prefix:
src/__tests__/renderer/stores/notificationStore.test.ts#L433
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'Backend > Tab1: Finished.' ]
Received:
1st vi.fn() call:
[
"Done",
"Backend > Tab1: Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:433:22
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > builds body with tab prefix:
src/__tests__/renderer/stores/notificationStore.test.ts#L422
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'Tab1: Finished.' ]
Received:
1st vi.fn() call:
[
"Done",
"Tab1: Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:422:22
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > builds body with group prefix:
src/__tests__/renderer/stores/notificationStore.test.ts#L412
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'Backend: Finished.' ]
Received:
1st vi.fn() call:
[
"Done",
"Backend: Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:412:22
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > uses project as notification title when available:
src/__tests__/renderer/stores/notificationStore.test.ts#L402
AssertionError: expected "vi.fn()" to be called with arguments: [ 'MyAgent', 'Finished.' ]
Received:
1st vi.fn() call:
[
"MyAgent",
"Finished.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:402:22
|
|
src/__tests__/renderer/stores/notificationStore.test.ts > notificationStore > notifyToast > OS notifications > calls show when enabled:
src/__tests__/renderer/stores/notificationStore.test.ts#L386
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Done', 'Task complete.' ]
Received:
1st vi.fn() call:
[
"Done",
"Task complete.",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/renderer/stores/notificationStore.test.ts:386:22
|
|
src/__tests__/main/preload/notifications.test.ts > Notification Preload API > show > should invoke notification:show with title and body:
src/__tests__/main/preload/notifications.test.ts#L39
AssertionError: expected "vi.fn()" to be called with arguments: [ 'notification:show', …(2) ]
Received:
1st vi.fn() call:
[
"notification:show",
"Test Title",
"Test Body",
+ undefined,
+ undefined,
]
Number of calls: 1
❯ src/__tests__/main/preload/notifications.test.ts:39:23
|