Skip to content

Commit

Permalink
Fix count
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsnyder committed Jan 3, 2024
1 parent 6f7b934 commit 0aa561a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/functional/specs/Personalization/C28760.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ test("Test C28760: A notification collect should be triggered if a VEC dom actio

await responseStatus(networkLogger.edgeEndpointLogs.requests, 200);

await t
.expect(networkLogger.edgeEndpointLogs.requests.count(() => true))
.eql(2);
await t.expect(networkLogger.edgeEndpointLogs.count(() => true)).eql(2);

const sendEventRequest = networkLogger.edgeEndpointLogs.requests[0];
const requestBody = JSON.parse(sendEventRequest.request.body);
Expand Down

0 comments on commit 0aa561a

Please sign in to comment.