Skip to content

uploadProductFirmware only tests with Buffer, and doesn't test with filename #114

@dmiddlecamp

Description

@dmiddlecamp

in the documentation:

options.file Object Path or Buffer of the new firmware file
                             Either a path or Buffer of the file contents in Node, or a File or Blob in the browser.

test parameter appears to only set file to a buffer, and not a path
file: new Buffer('ELF...'),

discovered because upload with path appears to not work as expected during testing / development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions