Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code-pushup/cli
/ performance-observer.int.test.ts
File
performance-observer.int.test.ts
packages/utils/src/lib/performance-observer.int.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{
type
PerformanceEntry, performance } from
'node:perf_hooks'
;
2
import
type
{ MockedFunction } from
'vitest'
;
3
import
{ MockAppendableSink } from
'../../mocks/sink.mock.js'
;
4
import
{
Callers
nothing calls this directly
Calls
7
awaitObserverCallback
Function · 0.85
subscribe
Method · 0.80
unsubscribe
Method · 0.80
measure
Method · 0.80
flush
Method · 0.45
getStats
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected