Skip to content

Commit 03a3886

Browse files
Update clock-epoch.int.test.ts
Co-authored-by: Hanna Skryl <80118140+hanna-skryl@users.noreply.github.com>
1 parent f192614 commit 03a3886

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/utils/src/lib/clock-epoch.int.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ describe('epochClock', () => {
1313
timeOriginMs: performance.timeOrigin,
1414
}),
1515
);
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');
16+
expect(c.fromEpochMs).toBeFunction();
17+
expect(c.fromEpochUs).toBeFunction();
18+
expect(c.fromPerfMs).toBeFunction();
19+
expect(c.fromEntryStartTimeMs).toBeFunction();
20+
expect(c.fromDateNowMs).toBeFunction();
2121
});
2222

2323
it('should support performance clock by default for epochNowUs', () => {

0 commit comments

Comments
 (0)