Skip to content

Commit

Permalink
test: update chat form test with files in preview prop
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed Feb 8, 2024
1 parent 4407e3b commit 05f22d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ChatForm/CharForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ describe("ChatForm", () => {
}}
setSelectedCommand={() => ({})}
executeCommand={() => ({})}
filesInPreview={[]}
// setSelectedCommand={() => ({})}
/>,
);
Expand Down Expand Up @@ -78,6 +79,7 @@ describe("ChatForm", () => {
}}
setSelectedCommand={() => ({})}
executeCommand={() => ({})}
filesInPreview={[]}
/>,
);
const textarea = app.container.querySelector("textarea");
Expand Down
1 change: 1 addition & 0 deletions src/components/ChatForm/ChatForm.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const meta = {
can_paste: true,
attach: false,
},
filesInPreview: [],
},
} satisfies Meta<typeof ChatForm>;

Expand Down

0 comments on commit 05f22d1

Please sign in to comment.