Example #1
0
 .then((webhooks) => {
   assert.isAbove(webhooks.length, 0);
   for (webhook of webhooks) {
     assert.isWebhook(webhook);
   }
   assert.include(webhooks.items, webhook);
 });
Example #2
0
 .then((webhook) => {
   webhooks.push(webhook);
   assert.isWebhook(webhook);
 });