Code coverage report for lib/adapters/leveldb/prepareAttachmentForStorage.js

Statements: 100% (3 / 3)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (3 / 3)      Ignored: none     

All files » lib/adapters/leveldb/ » prepareAttachmentForStorage.js
1 2 3 4 5 6 7 8      1 451 451    
'use strict';
 
// in Node, we store the buffer directly
module.exports = function prepareAttachmentForStorage(attData, cb) {
  process.nextTick(function () {
    cb(attData);
  });
};