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');
|
||||
require('@openzeppelin/test-helpers');
|
||||
|
||||
const { expect } = require('chai');
|
||||
|
||||
const ERC165CheckerMock = contract.fromArtifact('ERC165CheckerMock');
|
||||
const ERC165NotSupported = contract.fromArtifact('ERC165NotSupported');
|
||||
const ERC165InterfacesSupported = contract.fromArtifact('ERC165InterfacesSupported');
|
||||
const ERC165CheckerMock = artifacts.require('ERC165CheckerMock');
|
||||
const ERC165NotSupported = artifacts.require('ERC165NotSupported');
|
||||
const ERC165InterfacesSupported = artifacts.require('ERC165InterfacesSupported');
|
||||
|
||||
const DUMMY_ID = '0xdeadbeef';
|
||||
const DUMMY_ID_2 = '0xcafebabe';
|
||||
@ -14,7 +13,7 @@ const DUMMY_UNSUPPORTED_ID = '0xbaddcafe';
|
||||
const DUMMY_UNSUPPORTED_ID_2 = '0xbaadcafe';
|
||||
const DUMMY_ACCOUNT = '0x1111111111111111111111111111111111111111';
|
||||
|
||||
describe('ERC165Checker', function () {
|
||||
contract('ERC165Checker', function (accounts) {
|
||||
beforeEach(async function () {
|
||||
this.mock = await ERC165CheckerMock.new();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user