Refactor supports interface (#4817)

This commit is contained in:
Renan Souza
2024-01-12 19:45:49 -03:00
committed by GitHub
parent 920225a1c7
commit e68720efb6
6 changed files with 8 additions and 6 deletions

View File

@ -85,9 +85,11 @@ const SIGNATURES = {
const INTERFACE_IDS = mapValues(SIGNATURES, interfaceId);
function shouldSupportInterfaces(interfaces = []) {
interfaces.unshift('ERC165');
describe('ERC165', function () {
beforeEach(function () {
this.contractUnderTest = this.mock || this.token || this.holder;
this.contractUnderTest = this.mock || this.token;
});
describe('when the interfaceId is supported', function () {