MCPcopy Create free account
hub / github.com/garrytan/gstack / analytics.test.ts

File analytics.test.ts

test/analytics.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, test, expect, beforeEach, afterEach } from 'bun:test';
2import { parseJSONL, filterByPeriod, formatReport } from '../scripts/analytics';
3import type { AnalyticsEvent } from '../scripts/analytics';
4import * as fs from 'fs';

Callers

nothing calls this directly

Calls 7

parseJSONLFunction · 0.90
filterByPeriodFunction · 0.90
formatReportFunction · 0.90
daysAgoFunction · 0.85
writeTempJSONLFunction · 0.85
testFunction · 0.70
runScriptFunction · 0.70

Tested by

no test coverage detected