feat(core-testing): add RecordingAnalytics test double
Implements IAnalytics with recorded arrays (tracked, identified, pageViewed) and flush() that drains the buffer. Mirrors the pattern established by RecordingAuditLog; inline type aliases avoid a build-graph cycle with @repo/core-analytics. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,3 +5,9 @@ export { RecordingJobQueue } from "./recording-job-queue";
|
||||
export { RecordingEventBus } from "./recording-event-bus";
|
||||
export { RecordingRealtimeBroadcaster } from "./recording-realtime-broadcaster";
|
||||
export { RecordingAuditLog } from "./recording-audit-log";
|
||||
export {
|
||||
RecordingAnalytics,
|
||||
type RecordedTrack,
|
||||
type RecordedIdentify,
|
||||
type RecordedPageView,
|
||||
} from "./recording-analytics";
|
||||
|
||||
Reference in New Issue
Block a user