Code coverage report for cloudWatch/index.js

Statements: 100% (7 / 7)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (7 / 7)      Ignored: none     

All files » cloudWatch/ » index.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16    1 1 1   1 1   1         1  
'use strict'
 
var _ = require('lodash')
var cloudWatchPromised = require('aws-promised/cloudWatch')
var doesAlarmExist = require('./doesAlarmExist')
 
function cloudWatchExistence (options) {
  var cloudWatch = cloudWatchPromised(options)
 
  return {
    doesAlarmExist: _.partial(doesAlarmExist, cloudWatch)
  }
}
 
module.exports = cloudWatchExistence