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 952d8b7 commit 9487a3fCopy full SHA for 9487a3f
packages/utils/src/lib/clock-epoch.unit.test.ts
@@ -7,11 +7,11 @@ describe('epochClock', () => {
7
expect(c.timeOriginMs).toBe(500_000);
8
expect(c.tid).toBe(2);
9
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');
+ expect(c.fromEpochMs).toBeFunction();
+ expect(c.fromEpochUs).toBeFunction();
+ expect(c.fromPerfMs).toBeFunction();
+ expect(c.fromEntryStartTimeMs).toBeFunction();
+ expect(c.fromDateNowMs).toBeFunction();
15
});
16
17
it('should use pid options', () => {
0 commit comments