Skip to content

Integration with Mocha's diffs via err.expected and err.actual #89

Open
@ELLIOTTCABLE

Description

@ELLIOTTCABLE

So, Mocha provides diffs on test failures, by examining the thrown AssertionError's .expected and .actual properties. Unfortunately, these are rather redundant, with power-assert's output:

screen shot 2017-06-07 at 7 20 37 pm

It'd be ideal if, in the context of Mocha, power-assert could only dump its graph-style output, and leave the diffing-style output to Mocha (or at least, instruct Mocha not to do redundant diffing-style output!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    power-assert-v2features and bug fixes in power-assert v2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions