Skip to content

Commit 12be09c

Browse files
author
John Doe
committed
refactor: fix types
1 parent b02d229 commit 12be09c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

testing/test-utils/src/lib/utils/perf-hooks.mock.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import type { PerformanceEntry } from 'node:perf_hooks';
1+
import type { EntryType, PerformanceEntry } from 'node:perf_hooks';
22
import { vi } from 'vitest';
33
import { MockPerformanceObserver } from './performance-observer.mock';
44

5-
type EntryType = 'mark' | 'measure';
6-
75
let nowMs = 0;
86
let entries: PerformanceEntry[] = [];
97

0 commit comments

Comments
 (0)