hook.io-mock
Version:
A hook to mock messages to debug your composite hooks. It listens to messages and replies with messages and custom data if a match is found. VERY 0.0.1
31 lines (27 loc) • 605 B
JSON
{
"mocks" : [
{
"name" : "optional name",
"sequentialTriggers" : true,
"triggers" : [
{
"event" : "someevent::stringorregex"
},
{
"event" : "someotherevent::stringorregex",
"count" : 3
}
],
"actions" : [
{
"event" : "someevent::name",
"data" : { "foo" : "bar"}
"delay" : 1500,
"beforeScript" : "some script to execute",
"afterScript" : "some script to execute",
"count" : 1
}
]
}
]
}