fix: correct late-arriving item order and update app icons #44
Annotations
9 errors and 1 warning
|
Tests
Process completed with exit code 1.
|
|
Tests:
src/features/threads/hooks/useThreadMessaging.ts#L196
Error: [vitest] No "listSlashCommands" export is defined on the "@services/tauri" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@services/tauri"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/features/threads/hooks/useThreadMessaging.ts:196:10
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25989:20
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom-client.development.js:13249:29
❯ commitHookPassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:13336:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15484:13
❯ recursivelyTraversePassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:15439:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15519:11
|
|
Tests:
src/features/threads/hooks/useThreadMessaging.ts#L196
Error: [vitest] No "listSlashCommands" export is defined on the "@services/tauri" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@services/tauri"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/features/threads/hooks/useThreadMessaging.ts:196:10
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25989:20
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom-client.development.js:13249:29
❯ commitHookPassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:13336:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15484:13
❯ recursivelyTraversePassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:15439:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15519:11
|
|
Tests:
src/features/threads/hooks/useThreadMessaging.ts#L196
Error: [vitest] No "listSlashCommands" export is defined on the "@services/tauri" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@services/tauri"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/features/threads/hooks/useThreadMessaging.ts:196:10
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25989:20
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom-client.development.js:13249:29
❯ commitHookPassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:13336:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15484:13
❯ recursivelyTraversePassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:15439:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15519:11
|
|
Tests:
src/features/threads/hooks/useThreadMessaging.ts#L196
Error: [vitest] No "listSlashCommands" export is defined on the "@services/tauri" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@services/tauri"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/features/threads/hooks/useThreadMessaging.ts:196:10
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25989:20
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom-client.development.js:13249:29
❯ commitHookPassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:13336:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15484:13
❯ recursivelyTraversePassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:15439:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15519:11
|
|
Tests:
src/features/threads/hooks/useThreadMessaging.ts#L196
Error: [vitest] No "listSlashCommands" export is defined on the "@services/tauri" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@services/tauri"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/features/threads/hooks/useThreadMessaging.ts:196:10
❯ Object.react_stack_bottom_frame node_modules/react-dom/cjs/react-dom-client.development.js:25989:20
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:874:13
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom-client.development.js:13249:29
❯ commitHookPassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:13336:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15484:13
❯ recursivelyTraversePassiveMountEffects node_modules/react-dom/cjs/react-dom-client.development.js:15439:11
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom-client.development.js:15519:11
|
|
Tests:
src/features/settings/components/SettingsView.test.tsx#L1663
TestingLibraryElementError: Unable to find an element with the text: Steer mode. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
aria-labelledby="settings-modal-title"
aria-modal="true"
class="ds-modal settings-overlay"
role="dialog"
>
<div
class="ds-modal-backdrop"
/>
<div
class="ds-modal-card settings-window"
>
<div
class="settings-titlebar"
>
<div
class="settings-title"
id="settings-modal-title"
>
Settings
</div>
<button
aria-label="Close settings"
class="ghost icon-button settings-close"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-x"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M18 6 6 18"
/>
<path
d="m6 6 12 12"
/>
</svg>
</button>
</div>
<div
class="settings-body"
>
<div
class="settings-master"
>
<aside
class="settings-sidebar"
>
<div
class="ds-panel-nav settings-nav-list"
>
<button
class="ds-panel-nav-item settings-nav"
type="button"
>
<span
class="ds-panel-nav-item-main"
>
<span
aria-hidden="true"
class="ds-panel-nav-item-icon"
>
<svg
aria-hidden="true"
class="lucide lucide-layout-grid"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="7"
rx="1"
width="7"
x="3"
y="3"
/>
<rect
height="7"
rx="1"
width="7"
x="14"
y="3"
/>
<rect
height="7"
rx="1"
width="7"
x="14"
y="14"
/>
<rect
height="7"
rx="1"
width="7"
x="3"
y="14"
/>
</svg>
</span>
<span
class="ds-panel-nav-item-label"
>
Projects
</span>
</span>
</button>
<button
class="ds-panel-nav-item settings-nav"
type="button"
>
<span
class="ds-panel-nav-item-main"
|
|
Tests:
src/features/settings/components/SettingsView.test.tsx#L1366
AssertionError: expected "spy" to be called 1 times, but got 23 times
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
aria-labelledby="settings-modal-title"
aria-modal="true"
class="ds-modal settings-overlay"
role="dialog"
>
<div
class="ds-modal-backdrop"
/>
<div
class="ds-modal-card settings-window"
>
<div
class="settings-titlebar"
>
<div
class="settings-title"
id="settings-modal-title"
>
Settings
</div>
<button
aria-label="Close settings"
class="ghost icon-button settings-close"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-x"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M18 6 6 18"
/>
<path
d="m6 6 12 12"
/>
</svg>
</button>
</div>
<div
class="settings-body"
>
<div
class="settings-master"
>
<aside
class="settings-sidebar"
>
<div
class="ds-panel-nav settings-nav-list"
>
<button
class="ds-panel-nav-item settings-nav"
type="button"
>
<span
class="ds-panel-nav-item-main"
>
<span
aria-hidden="true"
class="ds-panel-nav-item-icon"
>
<svg
aria-hidden="true"
class="lucide lucide-layout-grid"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="7"
rx="1"
width="7"
x="3"
y="3"
/>
<rect
height="7"
rx="1"
width="7"
x="14"
y="3"
/>
<rect
height="7"
rx="1"
width="7"
x="14"
y="14"
/>
<rect
height="7"
rx="1"
width="7"
x="3"
y="14"
/>
</svg>
</span>
<span
class="ds-panel-nav-item-label"
>
Projects
</span>
</span>
</button>
<button
class="ds-panel-nav-item settings-nav"
type="button"
|
|
Tests:
src/services/tauri.test.ts#L183
AssertionError: expected "spy" to be called with arguments: [ 'compact_thread', …(1) ]
Received:
1st spy call:
[
"compact_thread",
{
+ "model": null,
"threadId": "thread-10",
"workspaceId": "ws-10",
},
]
Number of calls: 1
❯ src/services/tauri.test.ts:183:24
|
|
Post Run actions/checkout@v4
The process '/usr/bin/git' failed with exit code 128
|
Loading