Watch
0
0
Fork
You've already forked hyperhive
0

notify flows: GET returns a schema of the events, fields, node kinds and limits

This commit is contained in:
atlas 2026-10-24 12:25:19 +02:00 • committed by mara
commit d5802d16a0
5 changed files with 281 additions and 26 deletions

View file

@ -2118,7 +2118,10 @@ mod tests {
let mut routed = events(DeliveryKind::Issues);
routed.extend(events(DeliveryKind::PullRequest));
routed.sort_unstable();
let mut sources = swarm_wire::notify_flows::SOURCE_EVENTS.to_vec();
let mut sources = swarm_wire::notify_flows::SOURCE_EVENTS
.iter()
.map(|(n, _)| *n)
.collect::<Vec<_>>();
sources.sort_unstable();
assert_eq!(routed, sources);
}