Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Sep 22, 2023
2 parents 0a10612 + ef7c8bb commit 5fcb8a8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/utils/src/lib/collect/implementation/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<<<<<<< HEAD
import { describe, expect } from 'vitest';
import { calcDuration, countWeightedRefs, sumRefs } from './utils';
import { calcDuration, formatBytes, countWeightedRefs, sumRefs } from './utils';
import { CategoryConfig } from '@quality-metrics/models';

describe('calcDuration', () => {
Expand Down Expand Up @@ -59,9 +58,8 @@ describe('sumRefs', () => {
},
];
expect(sumRefs(refs)).toBe(11);
=======
import { describe, expect, it } from 'vitest';
import { formatBytes } from './utils';
});
});

describe('formatBytes', () => {
it('should log file sizes in Bytes`', async () => {
Expand Down Expand Up @@ -106,6 +104,5 @@ describe('formatBytes', () => {

it('should log file sizes of 0 if no size is given`', async () => {
expect(formatBytes(0)).toBe('0 Bytes');
>>>>>>> ef7c8bb (feat(utils): test filesize logging)
});
});

0 comments on commit 5fcb8a8

Please sign in to comment.