livepeer / protocol

Livepeer protocol
MIT License
152 stars 45 forks source link

Create global chai setup #572

Open RiccardoBiosas opened 2 years ago

RiccardoBiosas commented 2 years ago

Context Currently chai is directly imported on each test file, where it is then attached to the ethereum-waffle's solidity chai matcher (i.e.: here). Furthermore, there are occurrences where it uses different assertion styles (i.e.: here and here).

TODO

Related to https://github.com/livepeer/protocol/issues/566

yondonfu commented 2 years ago

TBD on whether we want to remove ethereum-waffle - might not be a big deal to leave it. The person working on this should make sure to consider this and get feedback before making a decision.