Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Custom messages #288

Open
dhardtke opened this issue Jul 12, 2023 · 0 comments
Open

Feature Request: Custom messages #288

dhardtke opened this issue Jul 12, 2023 · 0 comments

Comments

@dhardtke
Copy link
Contributor

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant