mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
Both the screenshot 'all on' test and the bridge mock seed were hand-maintaining a parallel array of preview feature ids. tier transitions (e.g. promoting huddles to stable) required updating two places that the type system couldn't help us with. Add tests/helpers/features.ts as a single source of truth that imports /features.json directly and filters tier === 'preview'. The 'all on' test now loops over PREVIEW_FEATURE_IDS, and bridge.ts re-uses the same constant for its localStorage seeding. 12/12 screenshot-feature-flags tests pass locally. Signed-off-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>