nim-ethers/testnode/deploy/testhelpers.js
Eric Mastro e0ac15b3ba add revert helpers for testing
Add the following helpers to help detect transaction reverts:
1. `reverts`
2. `revertsWith`
3. `doesNotRevert`
4. `doesNotRevertWith`
2022-09-20 13:15:15 +10:00

7 lines
214 B
JavaScript

module.exports = async ({deployments, getNamedAccounts}) => {
const { deployer } = await getNamedAccounts()
await deployments.deploy('TestHelpers', { from: deployer })
}
module.exports.tags = ["TestHelpers"];