Code coverage report for dist\lib\caches\NoOpCache.js

Statements: 100% (11 / 11)      Branches: 100% (0 / 0)      Functions: 100% (5 / 5)      Lines: 100% (11 / 11)      Ignored: none     

All files » dist/lib/caches/ » NoOpCache.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 181 1 1   1 2   1 3   1 1   1   1    
var Bluebird = require('bluebird');
var NoOpCache = (function () {
    function NoOpCache() {
    }
    NoOpCache.prototype.set = function (key, object) {
        return Bluebird.resolve(object);
    };
    NoOpCache.prototype.get = function (key) {
        return Bluebird.resolve();
    };
    NoOpCache.prototype.clear = function (key) {
        return Bluebird.resolve(false);
    };
    return NoOpCache;
})();
exports.default = NoOpCache;
 
//# sourceMappingURL=../../lib/caches/NoOpCache.js.map