smartcontractkit / hardhat-starter-kit

A repo for boilerplate code for testing, deploying, and shipping chainlink solidity code.
MIT License
1.21k stars 490 forks source link

FEAT: Change integration tests sleep to listen specifically to events #59

Closed pappas999 closed 2 years ago

pappas999 commented 2 years ago

As per the comments in https://github.com/smartcontractkit/hardhat-starter-kit/pull/58

Integration tests should listen for the emitted event from the fulfilling call instead of a general wait/sleep before checking the result of the API call or VRF request

andrejrakic commented 2 years ago

Fixed in #80