Skip to content

Blob is not a constructor #17

@ketavchotaliya

Description

@ketavchotaliya

I'm using Blob in node.js (v8.10.0) for creating a dummy file for the unit test. Below is my code

const Blob = require('blob');
let dummyFileData = new Uint8Array( [ 137, 80, 78, 71, 130 ] );
let dummyFileBlob = new Blob([ dummyFileData ], { type: 'image/png' });

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions