Skip to content

Commit

Permalink
feat(chatInput): use tiptap editor (#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadoudicko authored Nov 29, 2023
1 parent b912af8 commit 77c6ef6
Show file tree
Hide file tree
Showing 56 changed files with 1,303 additions and 880 deletions.
7 changes: 7 additions & 0 deletions frontend/app/chat/[chatId]/__tests__/page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ vi.mock("@tanstack/react-query", async () => {
};
});

vi.mock(
"../components/ActionsBar/components/ChatInput/components/ChatEditor/ChatEditor",
() => ({
ChatEditor: () => <div data-testid="chat-input" />,
})
);

describe("Chat page", () => {
it("should render chat page correctly", () => {
const { getByTestId } = render(
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 77c6ef6

Please sign in to comment.