@@ -60,6 +60,8 @@ describe('useRecoveryCommands', () => {
60
60
failedLabwareUtils : mockFailedLabwareUtils ,
61
61
routeUpdateActions : mockRouteUpdateActions ,
62
62
recoveryToastUtils : { } as any ,
63
+ analytics : { reportRecoveredRunResult : vi . fn ( ) } as any ,
64
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
63
65
} )
64
66
)
65
67
@@ -86,6 +88,8 @@ describe('useRecoveryCommands', () => {
86
88
failedLabwareUtils : mockFailedLabwareUtils ,
87
89
routeUpdateActions : mockRouteUpdateActions ,
88
90
recoveryToastUtils : { } as any ,
91
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
92
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
89
93
} )
90
94
)
91
95
@@ -113,6 +117,8 @@ describe('useRecoveryCommands', () => {
113
117
failedLabwareUtils : mockFailedLabwareUtils ,
114
118
routeUpdateActions : mockRouteUpdateActions ,
115
119
recoveryToastUtils : { } as any ,
120
+ analytics : { reportRecoveredRunResult : vi . fn ( ) } as any ,
121
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
116
122
} )
117
123
)
118
124
@@ -134,7 +140,9 @@ describe('useRecoveryCommands', () => {
134
140
failedLabwareUtils : mockFailedLabwareUtils ,
135
141
routeUpdateActions : mockRouteUpdateActions ,
136
142
recoveryToastUtils : { makeSuccessToast : mockMakeSuccessToast } as any ,
137
- } )
143
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
144
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
145
+ } as any )
138
146
)
139
147
140
148
await act ( async ( ) => {
@@ -153,6 +161,8 @@ describe('useRecoveryCommands', () => {
153
161
failedLabwareUtils : mockFailedLabwareUtils ,
154
162
routeUpdateActions : mockRouteUpdateActions ,
155
163
recoveryToastUtils : { } as any ,
164
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
165
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
156
166
} )
157
167
)
158
168
@@ -169,6 +179,8 @@ describe('useRecoveryCommands', () => {
169
179
failedLabwareUtils : mockFailedLabwareUtils ,
170
180
routeUpdateActions : mockRouteUpdateActions ,
171
181
recoveryToastUtils : { } as any ,
182
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
183
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
172
184
} )
173
185
)
174
186
@@ -208,6 +220,8 @@ describe('useRecoveryCommands', () => {
208
220
} ,
209
221
routeUpdateActions : mockRouteUpdateActions ,
210
222
recoveryToastUtils : { } as any ,
223
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
224
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
211
225
} )
212
226
)
213
227
@@ -229,6 +243,8 @@ describe('useRecoveryCommands', () => {
229
243
failedLabwareUtils : mockFailedLabwareUtils ,
230
244
routeUpdateActions : mockRouteUpdateActions ,
231
245
recoveryToastUtils : { makeSuccessToast : mockMakeSuccessToast } as any ,
246
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
247
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
232
248
} )
233
249
)
234
250
@@ -248,6 +264,8 @@ describe('useRecoveryCommands', () => {
248
264
failedLabwareUtils : mockFailedLabwareUtils ,
249
265
routeUpdateActions : mockRouteUpdateActions ,
250
266
recoveryToastUtils : { } as any ,
267
+ analytics : { reportActionSelectedResult : vi . fn ( ) } as any ,
268
+ selectedRecoveryOption : RECOVERY_MAP . RETRY_NEW_TIPS . ROUTE ,
251
269
} )
252
270
)
253
271
0 commit comments