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
27 lines (25 loc) • 485 B
JSON
{
"mocks" : [
{
"name" : "optional name",
"triggers" : [
{
"event" : "someevent::stringorregex"
},
{
"event" : "someotherevent::stringorregex"
}
],
"actions" : [
{
"event" : "someevent::name",
"data" : { "foo" : "bar"}
},
{
"event" : "someevent::name2",
"data" : { "foo" : "bar"}
}
]
}
]
}