test: stabilize runtime provider management assertion

This commit is contained in:
777genius 2026-05-27 01:07:07 +03:00
parent abce029ef6
commit 9d5f176597

View file

@ -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');