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

Support messages in equal() and other methods #5

Open
Kipriz opened this issue Apr 25, 2018 · 0 comments
Open

Support messages in equal() and other methods #5

Kipriz opened this issue Apr 25, 2018 · 0 comments

Comments

@Kipriz
Copy link

Kipriz commented Apr 25, 2018

It would be great to have support of the following syntax:

expect(myBets[0]).to.be.bignumber.equal(betId, `bets list should have betId ${betId}`);

Right now I have to specify message in expect() function that is hard to read:

expect(myBets[0], `bets list should have betId ${betId}`).to.be.bignumber.equal(betId);
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