diff --git a/implementations/test/ERC725.test.ts b/implementations/test/ERC725.test.ts index 73db95dc..e4092146 100644 --- a/implementations/test/ERC725.test.ts +++ b/implementations/test/ERC725.test.ts @@ -6,6 +6,8 @@ import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'; // types import { ERC725, ERC725__factory, ERC725Init__factory } from '../types'; +import { INTERFACE_ID } from '../constants'; + import { deployProxy } from './fixtures'; type ERC725DeployParams = { @@ -99,6 +101,10 @@ describe('ERC725', () => { context = await buildTestContext(); }); + it('should have registered the ERC725X interface', async () => { + expect(await context.erc725.supportsInterface(INTERFACE_ID.ERC725X)); + }); + it('should revert when initializing with address(0) as owner', async () => { await expect( context.erc725['initialize(address)'](ethers.constants.AddressZero),