mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
Type the discovery fixture launch directory input
This commit is contained in:
@@ -396,6 +396,7 @@ it('discovers an unstamped folder and follows group and repo ownership while ope
|
||||
configurable: true,
|
||||
value: { git: { discoverTerminalModels: read } }
|
||||
})
|
||||
const initialProps: { cwd: string | undefined } = { cwd: undefined }
|
||||
const hook = renderHook(
|
||||
({ cwd }: { cwd: string | undefined }) => {
|
||||
const key = useAgentPickerTerminalDiscoveryKey('local', { worktreeId: 'folder:f1' }, cwd)
|
||||
@@ -416,7 +417,7 @@ it('discovers an unstamped folder and follows group and repo ownership while ope
|
||||
true
|
||||
)
|
||||
},
|
||||
{ initialProps: { cwd: undefined } }
|
||||
{ initialProps }
|
||||
)
|
||||
await waitFor(() =>
|
||||
expect(hook.result.current[0].terminalCatalog).toMatchObject({
|
||||
|
||||
Reference in New Issue
Block a user