Skip to content

Commit 86824eb

Browse files
committed
Modifying unit test for metric changes
1 parent a370604 commit 86824eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/browser/src/browser/__tests__/integration.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,9 @@ describe('Dispatch', () => {
694694
})
695695

696696
await sleep(10)
697-
expect(fetchCalls[1].url).toBe('http://new.api.io/m')
697+
expect(fetchCalls.some((call) => call.url === 'http://new.api.io/m')).toBe(
698+
true
699+
)
698700
})
699701
})
700702

0 commit comments

Comments
 (0)