Skip to content

peerlibrary/meteor-blob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blob

Meteor smart package which provides a Blob polyfill. Useful when your code uses Blob, but you are testing Meteor packages on Travis CI which uses PhantomJS which is lacking it.

Adding this package to your Meteor application polyfills Blob in the global scope.

Client side only.

Installation

Add it as a dependency to tests of your package which uses Blob. In Package.on_test section of your package.js file add it to api.use. For example:

Package.on_test(function (api) {
  api.use(['peerlibrary:blob@0.1.4'], 'client');
});

About

Polyfill for Blob to use in tests in PhantomJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published