Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinyplex/tinybase
/ metrics.test.ts
File
metrics.test.ts
test/unit/core/other/metrics.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{beforeEach, describe, expect, test, vi} from
'vitest'
;
2
3
import
type
{Metrics, Store} from
'tinybase'
;
4
import
{createMetrics, createStore} from
'tinybase'
;
Callers
nothing calls this directly
Calls
15
createStore
Function · 0.90
getMetricsObject
Function · 0.90
createMetricsListener
Function · 0.90
expectChanges
Function · 0.90
expectNoChanges
Function · 0.90
setCells
Function · 0.70
delCells
Function · 0.70
setMetricDefinition
Method · 0.65
getMetric
Method · 0.65
setCell
Method · 0.65
delRow
Method · 0.65
delCell
Method · 0.65
Tested by
no test coverage detected