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

Replace chai.should with chai.expect #1780

Merged
merged 9 commits into from Jun 24, 2019
Merged

Conversation

yopereir
Copy link
Contributor

@yopereir yopereir commented May 29, 2019

Fixes #1687

Converted all cases of .should to expect and added 'const { expect } = require('chai');' to relevant files.
Did not touch any other files except the test files.

@nventuro nventuro self-requested a review May 29, 2019 21:18
@nventuro nventuro added the tests Test suite and helpers. label May 29, 2019
@nventuro
Copy link
Contributor

Woot, thank you very much for this @RCYP! Note that there are multiple tests failing due to usage of exxpect instead of expect.

@frangio frangio changed the title Issue#1687 Replace chai.should with chai.expect Jun 4, 2019
@stale
Copy link

stale bot commented Jun 19, 2019

Hi all!
This Pull Request has not had any recent activity, is it still relevant? If so, what is blocking it? Is there anything we can do to help move it forward?
Thanks!

@stale stale bot added the stale label Jun 19, 2019
@nventuro
Copy link
Contributor

Note that @alanarvelo is working on a very similar thing at #1804

@stale stale bot removed the stale label Jun 19, 2019
@yopereir
Copy link
Contributor Author

idk why the build is failing.. i've checked out from the latest master branch and put the test cases but it still fails.. seems @alanarvelo has got it so you can use his instead.

@alanarvelo
Copy link
Contributor

alanarvelo commented Jun 19, 2019

Hi @RCYP sorry to have jumped in, I thought you had paused your effort.
In the Details section provided by Travis CI it says the unit tests and linting tests are failing.

You can prevent this from happening by running those tests in your local environment by typing truffle test file/you/changed and npm lint respectively, every time you make changes to a file.

@yopereir
Copy link
Contributor Author

the coverage check is failing at Address.sol for some reason.. i'm using the same file from the master. any idea what the issue might be?

@frangio
Copy link
Contributor

frangio commented Jun 24, 2019

Lovely! Thank you @RCYP!

@frangio frangio merged commit 489d2e8 into OpenZeppelin:master Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Test suite and helpers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace chai.should with chai.expect.
4 participants