File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
web-app/src/services/__tests__ Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff 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} )
You can’t perform that action at this time.
0 commit comments