Skip to content

Commit

Permalink
refactor(packages/sui-react-web-vitals): reorder mock object
Browse files Browse the repository at this point in the history
  • Loading branch information
nucliweb committed Feb 8, 2024
1 parent 3ad95a3 commit 87cdd78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/sui-react-web-vitals/test/browser/indexSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,15 +302,15 @@ describe('WebVitalsReporter', () => {
await waitFor(() => [
expect(
logger.cwv.calledWith({
amount: 304,
deviceMemory: 8,
effectiveType: '4g',
eventType: 'body',
hardwareConcurrency: 10,
name: 'cwv.inp',
amount: 104,
path: '/',
target: undefined,
visibilityState: 'hidden',
eventType: 'body',
deviceMemory: 8,
effectiveType: '4g',
hardwareConcurrency: 10
visibilityState: 'hidden'
})
).to.be.true
])
Expand Down

0 comments on commit 87cdd78

Please sign in to comment.