Code coverage report for lib/deps/binary/blobOrBufferToBase64.js

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

All files » lib/deps/binary/ » blobOrBufferToBase64.js
1 2 3 4 5 6 7    1   1 625  
'use strict';
 
var Promise = require('../promise');
 
module.exports = function blobToBase64(blobOrBuffer) {
  return Promise.resolve(blobOrBuffer.toString('base64'));
};