Chainlink Test Helpers
Source for external Chainlinked contract testing helpers.
Click here to get started writing Chainlinked contracts.
Usage
Add to your project
npm install chainlink-test-helpers --save
Add to tests
const h = ;
Helper Methods
Below are some examples of how to use the helper methods.
assertActionThrows
await h;
decodeRunRequest
let tx = await cc;request = h;
fulfillOracleRequest
let tx = await cc;request = h;await h;
increaseBlocks
h
increaseTime5Minutes
h;