mirror of
https://github.com/stablyai/orca.git
synced 2026-10-09 00:02:39 +00:00
fix(native-chat): pass the @-mention file props in the composer resume test (#26097)
#25835 kept the onAcceptMention prop that #26017 replaced with onChooseMentionFile and mentionFiles, so the web typecheck fails on main.
This commit is contained in:
@@ -35,7 +35,7 @@ vi.mock('./NativeChatSessionOptionPickers', () => ({
|
||||
}))
|
||||
|
||||
vi.mock('./NativeChatAutocompleteMenus', () => ({
|
||||
NativeChatMentionHint: () => null,
|
||||
NativeChatMentionMenu: () => null,
|
||||
NativeChatPickerMenu: () => null
|
||||
}))
|
||||
|
||||
@@ -97,7 +97,8 @@ function TestField({
|
||||
pickerListboxId="picker"
|
||||
onChoosePickerItem={vi.fn()}
|
||||
onRetrySkills={vi.fn()}
|
||||
onAcceptMention={vi.fn()}
|
||||
onChooseMentionFile={vi.fn()}
|
||||
mentionFiles={{ files: [], loading: false, failed: false }}
|
||||
onRemoveImageAttachment={vi.fn()}
|
||||
onAttach={vi.fn()}
|
||||
onDictationToggle={vi.fn()}
|
||||
|
||||
Reference in New Issue
Block a user