@@ -95,14 +95,20 @@ describe('ChooseRobotToRunProtocolSlideout', () => {
95
95
. calledWith (
96
96
expect . any ( Object ) ,
97
97
{ hostname : expect . any ( String ) } ,
98
- expect . any ( Array )
98
+ expect . any ( Array ) ,
99
+ expect . any ( Object )
99
100
)
100
101
. thenReturn ( {
101
102
createRunFromProtocolSource : mockCreateRunFromProtocolSource ,
102
103
reset : mockResetCreateRun ,
103
104
} as any )
104
105
when ( vi . mocked ( useCreateRunFromProtocol ) )
105
- . calledWith ( expect . any ( Object ) , null , expect . any ( Array ) )
106
+ . calledWith (
107
+ expect . any ( Object ) ,
108
+ null ,
109
+ expect . any ( Array ) ,
110
+ expect . any ( Object )
111
+ )
106
112
. thenReturn ( {
107
113
createRunFromProtocolSource : mockCreateRunFromProtocolSource ,
108
114
reset : mockResetCreateRun ,
@@ -315,7 +321,8 @@ describe('ChooseRobotToRunProtocolSlideout', () => {
315
321
location : mockOffsetCandidate . location ,
316
322
definitionUri : mockOffsetCandidate . definitionUri ,
317
323
} ,
318
- ]
324
+ ] ,
325
+ { }
319
326
)
320
327
expect ( screen . getByRole ( 'checkbox' ) ) . toBeChecked ( )
321
328
const proceedButton = screen . getByRole ( 'button' , {
@@ -373,13 +380,15 @@ describe('ChooseRobotToRunProtocolSlideout', () => {
373
380
location : mockOffsetCandidate . location ,
374
381
definitionUri : mockOffsetCandidate . definitionUri ,
375
382
} ,
376
- ]
383
+ ] ,
384
+ { }
377
385
)
378
386
expect ( vi . mocked ( useCreateRunFromProtocol ) ) . nthCalledWith (
379
387
3 ,
380
388
expect . any ( Object ) ,
381
389
{ hostname : 'otherIp' } ,
382
- [ ]
390
+ [ ] ,
391
+ { }
383
392
)
384
393
} )
385
394
} )
0 commit comments