We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f192614 commit 03a3886Copy full SHA for 03a3886
packages/utils/src/lib/clock-epoch.int.test.ts
@@ -13,11 +13,11 @@ describe('epochClock', () => {
13
timeOriginMs: performance.timeOrigin,
14
}),
15
);
16
- expect(typeof c.fromEpochMs).toBe('function');
17
- expect(typeof c.fromEpochUs).toBe('function');
18
- expect(typeof c.fromPerfMs).toBe('function');
19
- expect(typeof c.fromEntryStartTimeMs).toBe('function');
20
- expect(typeof c.fromDateNowMs).toBe('function');
+ expect(c.fromEpochMs).toBeFunction();
+ expect(c.fromEpochUs).toBeFunction();
+ expect(c.fromPerfMs).toBeFunction();
+ expect(c.fromEntryStartTimeMs).toBeFunction();
+ expect(c.fromDateNowMs).toBeFunction();
21
});
22
23
it('should support performance clock by default for epochNowUs', () => {
0 commit comments