MCPcopy Create free account
hub / github.com/garrytan/gstack / memory-command.test.ts

File memory-command.test.ts

browse/test/memory-command.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, test, expect } from 'bun:test';
2import { formatBytes, type MemorySnapshot, type MemoryStructureStats } from '../src/memory-snapshot';
3
4// Unit coverage for the $B memory diagnostic surface — formatter, byte

Callers

nothing calls this directly

Calls 7

formatBytesFunction · 0.90
makeSnapshotFunction · 0.85
handleMemoryCommandFunction · 0.85
makeFakeBmFunction · 0.85
makeStructureStatsFunction · 0.85
buildMemorySnapshotJsonFunction · 0.85
testFunction · 0.50

Tested by

no test coverage detected