|
|
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 |
|
|
|
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 |
|