Use hardhat-exposed to reduce the need for mocks (#3666)
Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
@ -3,14 +3,14 @@ const {
|
||||
shouldBehaveLikeERC721Metadata,
|
||||
} = require('./ERC721.behavior');
|
||||
|
||||
const ERC721Mock = artifacts.require('ERC721Mock');
|
||||
const ERC721 = artifacts.require('$ERC721');
|
||||
|
||||
contract('ERC721', function (accounts) {
|
||||
const name = 'Non Fungible Token';
|
||||
const symbol = 'NFT';
|
||||
|
||||
beforeEach(async function () {
|
||||
this.token = await ERC721Mock.new(name, symbol);
|
||||
this.token = await ERC721.new(name, symbol);
|
||||
});
|
||||
|
||||
shouldBehaveLikeERC721('ERC721', ...accounts);
|
||||
|
||||
Reference in New Issue
Block a user