Skip to content

Commit 952d8b7

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

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
@@ -90,10 +90,10 @@ describe('defaultClock', () => {
9090
}),
9191
);
9292

93-
expect(typeof c.fromEpochMs).toBe('function');
94-
expect(typeof c.fromEpochUs).toBe('function');
95-
expect(typeof c.fromPerfMs).toBe('function');
96-
expect(typeof c.fromEntryStartTimeMs).toBe('function');
97-
expect(typeof c.fromDateNowMs).toBe('function');
93+
expect(c.fromEpochMs).toBeFunction();
94+
expect(c.fromEpochUs).toBeFunction();
95+
expect(c.fromPerfMs).toBeFunction();
96+
expect(c.fromEntryStartTimeMs).toBeFunction();
97+
expect(c.fromDateNowMs).toBeFunction();
9898
});
9999
});

0 commit comments

Comments
 (0)