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

remove arrow functions from js tests #1225

Merged
merged 1 commit into from
Aug 21, 2018
Merged

remove arrow functions from js tests #1225

merged 1 commit into from
Aug 21, 2018

Conversation

jacobherrington
Copy link
Contributor

Fixes #1202

πŸš€ Description

This PR removes a number of arrow functions in the JS tests, which are considered bad practice by Mocha.

  • πŸ“˜ I've reviewed the OpenZeppelin Contributor Guidelines
  • βœ… I've added tests where applicable to test my new functionality.
  • [ ] πŸ“– I've made sure that my contracts are well-documented.
  • 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

@nventuro nventuro self-assigned this Aug 21, 2018
@nventuro nventuro added kind:improvement tests Test suite and helpers. labels Aug 21, 2018
@nventuro nventuro added this to the v2.1 milestone Aug 21, 2018
@nventuro
Copy link
Contributor

Awesome @jacobherrington, thanks! These kind of small changes are always helpful :)

If you're interested in improving our test suite (which will probably be made it's own repo/package soon), feel free to take a look at #1091, or any of the 2.1 testing issues!

@nventuro nventuro merged commit 64c324e into OpenZeppelin:master Aug 21, 2018
@come-maiz come-maiz modified the milestones: v2.1, v2.0 Oct 21, 2018
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.

Remove arrow functions in tests
3 participants