test: stabilize runtime provider management assertion
This commit is contained in:
parent
abce029ef6
commit
9d5f176597
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ describe('useRuntimeProviderManagement', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
await vi.waitFor(() => {
|
await vi.waitFor(() => {
|
||||||
expect(state?.error).toContain('wrong runtime binary');
|
expect(state?.error ?? '').toContain('wrong runtime binary');
|
||||||
});
|
});
|
||||||
expect(state?.errorDiagnostics?.binaryPath).toBe('/opt/homebrew/bin/opencode');
|
expect(state?.errorDiagnostics?.binaryPath).toBe('/opt/homebrew/bin/opencode');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue