We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d71276 commit 609a892Copy full SHA for 609a892
test/__testutils__/testInvalidRefRetry.ts
@@ -171,8 +171,11 @@ export const testInvalidRefRetry = (args: TestInvalidRefRetryArgs): void => {
171
it("throttles log", async (ctx) => {
172
const client = createTestClient({ ctx })
173
const badRef = ctx.mock.api.ref().ref
174
+ const queryResponse = ctx.mock.api.query({
175
+ documents: [ctx.mock.value.document()],
176
+ })
177
- mockPrismicRestAPIV2({ ctx })
178
+ mockPrismicRestAPIV2({ ctx, queryResponse })
179
180
const endpoint = new URL(
181
"documents/search",
0 commit comments