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 b02d229 commit 12be09cCopy full SHA for 12be09c
testing/test-utils/src/lib/utils/perf-hooks.mock.ts
@@ -1,9 +1,7 @@
1
-import type { PerformanceEntry } from 'node:perf_hooks';
+import type { EntryType, PerformanceEntry } from 'node:perf_hooks';
2
import { vi } from 'vitest';
3
import { MockPerformanceObserver } from './performance-observer.mock';
4
5
-type EntryType = 'mark' | 'measure';
6
-
7
let nowMs = 0;
8
let entries: PerformanceEntry[] = [];
9
0 commit comments