Skip to content

Feature Request: Custom messages #288

@dhardtke

Description

@dhardtke

In chai we can do:

expect(totalNumberOfUsers, 'Number of users must be above 2').to.be.above(2);

I would like to be able to do the same with earl, something like:

expect(totalNumberOfUsers, 'Number of users must be above 2').toBeGreaterThan(2);

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