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 9487a3f commit aaac230Copy full SHA for aaac230
packages/utils/src/lib/clock-epoch.int.test.ts
@@ -35,8 +35,8 @@ describe('epochClock', () => {
35
const epochMs = Date.now();
36
37
const result = c.fromEpochMs(epochMs);
38
+ expect(result).toBeInteger();
39
expect(result).toBe(Math.round(epochMs * 1000));
- expect(result).toBe(Math.round(result));
40
});
41
42
it('should convert epoch microseconds to microseconds correctly', () => {
@@ -56,7 +56,7 @@ describe('epochClock', () => {
56
57
const result = c.fromPerfMs(perfMs);
58
expect(result).toBe(expectedUs);
59
60
61
62
it('should convert entry start time milliseconds to epoch microseconds correctly', () => {
0 commit comments