MCPcopy Create free account
hub / github.com/code-pushup/cli / profiler-node.unit.test.ts

File profiler-node.unit.test.ts

packages/utils/src/lib/profiler/profiler-node.unit.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import path from 'node:path';
2import { performance } from 'node:perf_hooks';
3import { beforeEach, describe, expect, it, vi } from 'vitest';
4import { MockTraceEventFileSink } from '../../../mocks/sink.mock';

Callers

nothing calls this directly

Calls 11

getNodejsProfilerFunction · 0.85
createProfilerFunction · 0.85
isSubscribedMethod · 0.80
measureMethod · 0.80
measureAsyncMethod · 0.80
markerMethod · 0.80
setDebugModeMethod · 0.80
setEnabledMethod · 0.45
closeMethod · 0.45
flushMethod · 0.45
isEnabledMethod · 0.45

Tested by

no test coverage detected