Skip to content

Commit 9487a3f

Browse files
Update clock-epoch.unit.test.ts
Co-authored-by: Hanna Skryl <80118140+hanna-skryl@users.noreply.github.com>
1 parent 952d8b7 commit 9487a3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ describe('epochClock', () => {
77
expect(c.timeOriginMs).toBe(500_000);
88
expect(c.tid).toBe(2);
99
expect(c.pid).toBe(10_001);
10-
expect(typeof c.fromEpochMs).toBe('function');
11-
expect(typeof c.fromEpochUs).toBe('function');
12-
expect(typeof c.fromPerfMs).toBe('function');
13-
expect(typeof c.fromEntryStartTimeMs).toBe('function');
14-
expect(typeof c.fromDateNowMs).toBe('function');
10+
expect(c.fromEpochMs).toBeFunction();
11+
expect(c.fromEpochUs).toBeFunction();
12+
expect(c.fromPerfMs).toBeFunction();
13+
expect(c.fromEntryStartTimeMs).toBeFunction();
14+
expect(c.fromDateNowMs).toBeFunction();
1515
});
1616

1717
it('should use pid options', () => {

0 commit comments

Comments
 (0)