Migrate to Hardhat (#2397)
This commit is contained in:
committed by
GitHub
parent
0c27ecc536
commit
f06738828b
@ -1,13 +1,11 @@
|
||||
const { accounts, contract } = require('@openzeppelin/test-environment');
|
||||
|
||||
const { expectRevert } = require('@openzeppelin/test-helpers');
|
||||
|
||||
const ERC20ReturnFalseMock = contract.fromArtifact('ERC20ReturnFalseMock');
|
||||
const ERC20ReturnTrueMock = contract.fromArtifact('ERC20ReturnTrueMock');
|
||||
const ERC20NoReturnMock = contract.fromArtifact('ERC20NoReturnMock');
|
||||
const SafeERC20Wrapper = contract.fromArtifact('SafeERC20Wrapper');
|
||||
const ERC20ReturnFalseMock = artifacts.require('ERC20ReturnFalseMock');
|
||||
const ERC20ReturnTrueMock = artifacts.require('ERC20ReturnTrueMock');
|
||||
const ERC20NoReturnMock = artifacts.require('ERC20NoReturnMock');
|
||||
const SafeERC20Wrapper = artifacts.require('SafeERC20Wrapper');
|
||||
|
||||
describe('SafeERC20', function () {
|
||||
contract('SafeERC20', function (accounts) {
|
||||
const [ hasNoCode ] = accounts;
|
||||
|
||||
describe('with address that has no contract code', function () {
|
||||
|
||||
Reference in New Issue
Block a user