Files
openzeppelin-contracts/test/utils/introspection/ERC165.test.js
2023-12-18 19:28:16 -06:00

19 lines
460 B
JavaScript

const { ethers } = require('hardhat');
const { loadFixture } = require('@nomicfoundation/hardhat-network-helpers');
const { shouldSupportInterfaces } = require('./SupportsInterface.behavior');
async function fixture() {
return {
mock: await ethers.deployContract('$ERC165'),
};
}
contract('ERC165', function () {
beforeEach(async function () {
Object.assign(this, await loadFixture(fixture));
});
shouldSupportInterfaces(['ERC165']);
});