(host: SlashCommandHost)
| 134 | } |
| 135 | |
| 136 | function mountedPicker(host: SlashCommandHost): TestPicker { |
| 137 | const mock = host.mountEditorReplacement as ReturnType<typeof vi.fn>; |
| 138 | return mock.mock.calls[0]?.[0] as TestPicker; |
| 139 | } |
| 140 | |
| 141 | function latestMountedPicker(host: SlashCommandHost): TestPicker { |
| 142 | const mock = host.mountEditorReplacement as ReturnType<typeof vi.fn>; |