// # Slack API // API for sending Test Notifications to Slack var Promise = require('bluebird'), events = require('../events'), slack; /** * ## Slack API Method * * **See:** [API Methods](index.js.html#api%20methods) * @typedef Slack * @param slack */ slack = { /** * ### SendTest * Send a test notification * * @public */ sendTest: function () { events.emit('slack.test'); return Promise.resolve(); } }; module.exports = slack;