Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Internal improvement: Update truffle test code #2081

Merged
merged 19 commits into from Jun 19, 2019
Merged

Conversation

eggplantzzz
Copy link
Contributor

In the interest of making the code for truffle test more readable and maintainable, this PR was created! It removes the callback being passed to the run method for packages/truffle-core/lib/test.js and instead adopts a Promise-based interface. The callback is now being handled in packages/truffle-core/lib/commands/test.js. The war on callbacks wages on!

@coveralls
Copy link

coveralls commented Jun 6, 2019

Coverage Status

Coverage decreased (-0.06%) to 70.066% when pulling faef71c on update-test into 134be34 on develop.

@eggplantzzz eggplantzzz changed the title Update truffle test Internal improvement: Update truffle test code Jun 10, 2019
Copy link
Contributor

@fainashalts fainashalts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Made a comment but it shouldn't stand in the way IMO.

Copy link
Contributor

@gnidan gnidan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not bad!

@eggplantzzz eggplantzzz merged commit acba61b into develop Jun 19, 2019
@eggplantzzz eggplantzzz deleted the update-test branch June 19, 2019 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants