feat: add tests (#843)
This commit is contained in:
parent
95a2af2535
commit
9dd9a9898c
35 changed files with 1063 additions and 191 deletions
|
|
@ -50,6 +50,7 @@ export function MessageEditor({
|
|||
return (
|
||||
<div className="flex flex-col gap-2 w-full">
|
||||
<Textarea
|
||||
data-testid="message-editor"
|
||||
ref={textareaRef}
|
||||
className="bg-transparent outline-none overflow-hidden resize-none !text-base rounded-xl w-full"
|
||||
value={draftContent}
|
||||
|
|
@ -67,6 +68,7 @@ export function MessageEditor({
|
|||
Cancel
|
||||
</Button>
|
||||
<Button
|
||||
data-testid="message-editor-send-button"
|
||||
variant="default"
|
||||
className="h-fit py-2 px-3"
|
||||
disabled={isSubmitting}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue