chore(work): finish 02-recording-analytics
This commit is contained in:
@@ -3,12 +3,12 @@ id: 02-recording-analytics
|
||||
epic: product-analytics-channel
|
||||
title: Add RecordingAnalytics to @repo/core-testing
|
||||
type: technical-story
|
||||
status: todo
|
||||
status: done
|
||||
feature: core-testing
|
||||
depends-on: [01-scaffold-core-analytics-package]
|
||||
blocks: [08-react-provider]
|
||||
created: 2026-05-18T12:01:00Z
|
||||
updated: 2026-05-18T10:46:27.080Z
|
||||
updated: 2026-05-18T11:38:17.680Z
|
||||
---
|
||||
|
||||
## Goal
|
||||
@@ -39,4 +39,4 @@ Every story that needs to assert analytics behaviour (including the React provid
|
||||
|
||||
## Tasks
|
||||
|
||||
- [ ] Add `RecordingAnalytics` implementing `IAnalytics` to `@repo/core-testing` — recorded arrays for `track`, `identify`, `pageView`; `flush()` returns `Promise.resolve()`; sibling test covers all methods and flush; export added to barrel — all gates pass on this commit.
|
||||
- [x] Add `RecordingAnalytics` implementing `IAnalytics` to `@repo/core-testing` — recorded arrays for `track`, `identify`, `pageView`; `flush()` returns `Promise.resolve()`; sibling test covers all methods and flush; export added to barrel — all gates pass on this commit.
|
||||
|
||||
@@ -6,7 +6,7 @@ type: epic
|
||||
status: in-progress
|
||||
features: [core-analytics, core-shared, core-testing, core-eslint]
|
||||
created: 2026-05-18T12:00:00Z
|
||||
updated: 2026-05-18T11:33:06.880Z
|
||||
updated: 2026-05-18T11:38:17.680Z
|
||||
---
|
||||
|
||||
## Goal
|
||||
@@ -20,7 +20,7 @@ Consumers routinely bolt analytics SDKs on at the React component layer, bypassi
|
||||
## Stories
|
||||
|
||||
- [x] [01 — Scaffold @repo/core-analytics package](01-scaffold-core-analytics-package/_story.md)
|
||||
- [ ] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md)
|
||||
- [x] [02 — Add RecordingAnalytics to @repo/core-testing](02-recording-analytics/_story.md)
|
||||
- [ ] [03 — Add Analyzed brand and withAnalytics wrapper](03-analyzed-brand-and-with-analytics-wrapper/_story.md)
|
||||
- [ ] [04 — Extend manifest schema and wireUseCase with analyticsEvents](04-manifest-schema-and-wire-use-case/_story.md)
|
||||
- [ ] [05 — Extend assertFeatureConformance to check Analyzed brand](05-assert-feature-conformance-analyzed/_story.md)
|
||||
|
||||
Reference in New Issue
Block a user