We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9213315 commit 45bd340Copy full SHA for 45bd340
apps/sim/providers/utils.test.ts
@@ -34,7 +34,9 @@ import {
34
updateOllamaProviderModels,
35
} from '@/providers/utils'
36
37
-const isHostedSpy = vi.spyOn(environmentModule, 'isHosted', 'get')
+const isHostedSpy = vi.spyOn(environmentModule, 'isHosted', 'get') as unknown as {
38
+ mockReturnValue: (value: boolean) => void
39
+}
40
const mockGetRotatingApiKey = vi.fn().mockReturnValue('rotating-server-key')
41
const originalRequire = module.require
42
0 commit comments