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

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

All files » lib/deps/binary/ » binaryStringToBlob.js
1 2 3 4 5 6 7 8    1 1   1    
'use strict';
 
var createBlob = require('./blob');
var binaryStringToArrayBuffer = require('./binaryStringToArrayBuffer');
 
module.exports = function binaryStringToBlob(binString, type) {
  return createBlob([binaryStringToArrayBuffer(binString)], {type: type});
};