Migrate to Hardhat (#2397)
This commit is contained in:
committed by
GitHub
parent
0c27ecc536
commit
f06738828b
@ -1,11 +1,10 @@
|
||||
const { contract } = require('@openzeppelin/test-environment');
|
||||
const { expectRevert } = require('@openzeppelin/test-helpers');
|
||||
|
||||
const { shouldSupportInterfaces } = require('./SupportsInterface.behavior');
|
||||
|
||||
const ERC165Mock = contract.fromArtifact('ERC165Mock');
|
||||
const ERC165Mock = artifacts.require('ERC165Mock');
|
||||
|
||||
describe('ERC165', function () {
|
||||
contract('ERC165', function (accounts) {
|
||||
beforeEach(async function () {
|
||||
this.mock = await ERC165Mock.new();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user