docs: notification flows, their API and the notifications page
This commit is contained in:
parent
0512862b3d
commit
7795da44f8
1 changed files with 140 additions and 59 deletions
|
|
@ -124,7 +124,6 @@ pub fn expand(template: &str, fields: &Fields) -> String {
|
|||
out
|
||||
}
|
||||
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use swarm_wire::notify_flows::{Edge, builtins};
|
||||
|
|
@ -230,14 +229,7 @@ mod tests {
|
|||
assert_eq!(a.op.key, "forge:hyperhive/hyperhive#7:");
|
||||
assert_eq!(a.op.summary, "");
|
||||
}
|
||||
assert!(
|
||||
evaluate(
|
||||
&closed,
|
||||
"issues",
|
||||
&event("reopened", &[], &[], &["atlas"])
|
||||
)
|
||||
.is_empty()
|
||||
);
|
||||
assert!(evaluate(&closed, "issues", &event("reopened", &[], &[], &["atlas"])).is_empty());
|
||||
}
|
||||
|
||||
/// A match node with two children runs both: the branching the tree
|
||||
|
|
|
|||
Loading…
Reference in a new issue