Skip to content

Commit b7be879

Browse files
committed
test: remove outdated test
1 parent 4eaeb32 commit b7be879

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

web-app/src/services/__tests__/models.test.ts

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -247,32 +247,4 @@ describe('models service', () => {
247247
await expect(startModel(provider, model)).resolves.toBe(undefined)
248248
})
249249
})
250-
251-
describe('configurePullOptions', () => {
252-
it('should configure proxy options', async () => {
253-
const proxyOptions = {
254-
proxyEnabled: true,
255-
proxyUrl: 'http://proxy.com',
256-
proxyUsername: 'user',
257-
proxyPassword: 'pass',
258-
proxyIgnoreSSL: false,
259-
verifyProxySSL: true,
260-
verifyProxyHostSSL: true,
261-
verifyPeerSSL: true,
262-
verifyHostSSL: true,
263-
noProxy: '',
264-
}
265-
266-
// Mock console.log to avoid output during tests
267-
const consoleSpy = vi.spyOn(console, 'log').mockImplementation(() => {})
268-
269-
await configurePullOptions(proxyOptions)
270-
271-
expect(consoleSpy).toHaveBeenCalledWith(
272-
'Configuring proxy options:',
273-
proxyOptions
274-
)
275-
consoleSpy.mockRestore()
276-
})
277-
})
278250
})

0 commit comments

Comments
 (0)