Skip to content

Commit

Permalink
Update test/e2e/onINP-test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Walton <[email protected]>
  • Loading branch information
tunetheweb and philipwalton authored Jan 20, 2025
1 parent 9c61110 commit 19a2f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/onINP-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ describe('onINP()', async function () {

const [inp1] = await getBeacons();
assert(inp1.attribution.longAnimationFrameEntries.length > 0);
assert(inp1.attribution.longAnimationFrameSummary != {});
assert(Object.keys(inp1.attribution.longAnimationFrameSummary).length !== 0);
assert.equal(
inp1.attribution.longAnimationFrameSummary.numIntersectingScripts,
1,
Expand Down

0 comments on commit 19a2f42

Please sign in to comment.