Skip to content

Hung tests when image sizes don't match #38

@kellyselden

Description

@kellyselden

I introduced a failure on purpose to test this out, and I got:

(node:9604) UnhandledPromiseRejectionWarning: Error: Image sizes do not match.
    at pixelmatch (/***/node_modules/pixelmatch/index.js:19:15)
    at exports.PNG.doneReading (/***/node_modules/ember-visual-test/index.js:209:39)
    ...

and it hangs forever. I think there needs to be additional error handling for your call to pixelmatch.

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