Skip to content

Commit 14ecfbb

Browse files
committed
test(ui): add looksLikeHalfBlockArt to markdown.ts mocks
1 parent 60d0c9d commit 14ecfbb

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

ui/src/ui/chat/grouped-render.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ vi.mock("../../local-storage.ts", () => ({
2323

2424
vi.mock("../markdown.ts", () => ({
2525
toSanitizedMarkdownHtml: (value: string) => value,
26+
looksLikeHalfBlockArt: () => false,
2627
}));
2728

2829
vi.mock("../icons.ts", () => ({

ui/src/ui/chat/run-controls.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ vi.mock("../icons.ts", () => ({
2323

2424
vi.mock("../markdown.ts", () => ({
2525
toSanitizedMarkdownHtml: (value: string) => value,
26+
looksLikeHalfBlockArt: () => false,
2627
}));
2728

2829
function createProps(overrides: Partial<ChatRunControlsProps> = {}): ChatRunControlsProps {

ui/src/ui/views/chat.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ vi.mock("../chat/grouped-render.ts", () => ({
155155

156156
vi.mock("../markdown.ts", () => ({
157157
toSanitizedMarkdownHtml: (value: string) => value,
158+
looksLikeHalfBlockArt: () => false,
158159
}));
159160

160161
vi.mock("../chat/tool-expansion-state.ts", () => ({

0 commit comments

Comments
 (0)