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:
Jinwoo Hong
2026-10-07 02:51:07 -04:00
committed by GitHub
parent 98e5f5ca71
commit c8dcffce46
@@ -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()}