coverage/lcov-report/config/notifications/notifications.js.html
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for config/notifications/notifications.js</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../../prettify.css">
<link rel="stylesheet" href="../../base.css">
<style type='text/css'>
div.coverage-summary .sorter {
background-image: url(../../sort-arrow-sprite.png);
}
</style>
</head>
<body>
<div class="header high">
<h1>Code coverage report for <span class="entity">config/notifications/notifications.js</span></h1>
<h2>
Statements: <span class="metric">100% <small>(2 / 2)</small></span>
Branches: <span class="metric">100% <small>(0 / 0)</small></span>
Functions: <span class="metric">100% <small>(1 / 1)</small></span>
Lines: <span class="metric">100% <small>(2 / 2)</small></span>
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
</h2>
<div class="path"><a href="../../index.html">All files</a> » <a href="index.html">config/notifications/</a> » notifications.js</div>
</div>
<div class="body">
<pre><table class="coverage">
<tr><td class="line-count">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35</td><td class="line-coverage"><span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-yes">1</span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span>
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">exports = module.exports = (function(){
/**
* Notifications configuration file.
*/
return {
/**
* Enable the services you would like to use when an alert is triggered
*
* How to create a new notification service:
* - 1) Create a new service entry in this file
* - 2) Create the actual service file in the 'path' path
* - 3) Setup some default configuration file in the 'config' path
*/
services: [
{
enabled: process.env.WATCHMEN_NOTIFICATIONS_AWS_SES_ENABLED,
name : 'aws-ses',
path: './services/aws-ses/aws-ses',
config: '../../config/notifications/services/aws-ses'
},
{
enabled: process.env.WATCHMEN_NOTIFICATIONS_POSTMARK_ENABLED,
name : 'aws-ses',
path: './services/postmark/postmark',
config: '../../config/notifications/services/postmark'
}
],
alwaysAlertTo: process.env.WATCHMEN_NOTIFICATIONS_ALWAYS_ALERT_TO // comma separated emails
}
})();</pre></td></tr>
</table></pre>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Sun Jun 21 2015 20:01:25 GMT+1000 (AEST)</div>
</div>
<script src="../../prettify.js"></script>
<script>
window.onload = function () {
if (typeof prettyPrint === 'function') {
prettyPrint();
}
};
</script>
<script src="../../sorter.js"></script>
</body>
</html>