Skip to content

Commit ac336db

Browse files
committed
require at least two requests
1 parent f15d0ff commit ac336db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/testInteg/perf/buildIndex.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface SetupResult {
2323

2424
async function verifyResult(setup: SetupResult) {
2525
// A correct run makes 2 requests, but don't want to make it exact to avoid over-sensitivity to implementation. If we make 10+ something is likely wrong.
26-
assert.ok(setup.clientReqStub.callCount >= 1 && setup.clientReqStub.callCount <= 10)
26+
assert.ok(setup.clientReqStub.callCount >= 2 && setup.clientReqStub.callCount <= 10)
2727
assert.ok(setup.clientReqStub.calledWith(BuildIndexRequestType))
2828
assert.ok(setup.clientReqStub.calledWith(GetUsageRequestType))
2929

0 commit comments

Comments
 (0)