File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,10 @@ export function makeQueries<Predicate, Options>(
192
192
...waitForOptions
193
193
} : WaitForOptions = { }
194
194
) {
195
+ const stackTraceError = new ErrorWithStack (
196
+ 'STACK_TRACE_ERROR' ,
197
+ findAllFn
198
+ ) ;
195
199
const deprecatedWaitForOptions =
196
200
extractDeprecatedWaitForOptions ( queryOptions ) ;
197
201
@@ -204,6 +208,7 @@ export function makeQueries<Predicate, Options>(
204
208
{
205
209
...deprecatedWaitForOptions ,
206
210
...waitForOptions ,
211
+ stackTraceError,
207
212
onTimeout,
208
213
}
209
214
) ;
@@ -219,6 +224,7 @@ export function makeQueries<Predicate, Options>(
219
224
...waitForOptions
220
225
} : WaitForOptions = { }
221
226
) {
227
+ const stackTraceError = new ErrorWithStack ( 'STACK_TRACE_ERROR' , findFn ) ;
222
228
const deprecatedWaitForOptions =
223
229
extractDeprecatedWaitForOptions ( queryOptions ) ;
224
230
@@ -231,6 +237,7 @@ export function makeQueries<Predicate, Options>(
231
237
{
232
238
...deprecatedWaitForOptions ,
233
239
...waitForOptions ,
240
+ stackTraceError,
234
241
onTimeout,
235
242
}
236
243
) ;
You can’t perform that action at this time.
0 commit comments