Commit Graph

5 Commits

Author SHA1 Message Date
392682c7be feat(redis): add channel prefix and error handling 2026-05-08 06:33:18 +00:00
7c12b40ed2 feat(redis-adapter-tests): add comprehensive tests for Redis event target adapter
17 tests covering:
- dispatchEvent publish path (correct channel, serialized envelope, returns true)
- addEventListener subscribe path (subscribes to Redis, dispatches to local listeners, ignores unknown channels)
- removeEventListener unsubscribe path (unsubscribes when last listener removed, keeps subscription when listeners remain)
- Topic scoping (type:id strings as Redis channel names)
- EventEnvelope round-trip serialization (full envelope, null payload)
- Multiple listeners (single Redis subscribe, all listeners receive messages)
- Custom serializer (custom stringify/parse, non-JSON round-trip)
- EventListenerObject support (handleEvent)

Uses manual Redis mock (no external dependencies needed).
2026-05-08 06:28:28 +00:00
db07aa74a7 Merge branch 'wave1/core-operators-tests' 2026-05-08 06:22:18 +00:00
dd843132f9 feat(core-operators-tests): add comprehensive tests for all 13 stream operators
53 tests covering filter, map, pipe, take, reduce, toArray, batch,
dedupe, window, flat, groupBy, chain, and join operators including
async predicates/mappers, type-narrowing overloads, edge cases, and
pipe+subscribe composition.
2026-05-08 06:07:36 +00:00
dd720a9e0b feat(core-pubsub-tests): add comprehensive tests for createPubSub, EventEnvelope, and in-process event target 2026-05-08 06:06:36 +00:00