Skip to content

Commit aa82c30

Browse files
committed
call describeBehaviorOfERC165 in spec test
1 parent b93171b commit aa82c30

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec/token/common/ERC2981.behavior.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { describeBehaviorOfERC165 } from '../../introspection';
12
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers';
23
import { describeFilter } from '@solidstate/library';
34
import { ERC2981Mock } from '@solidstate/typechain-types';
@@ -24,6 +25,14 @@ export function describeBehaviorOfERC2981(
2425
instance = await deploy();
2526
});
2627

28+
describeBehaviorOfERC165(
29+
deploy,
30+
{
31+
interfaceIds: ['0x2a55205a'],
32+
},
33+
skips,
34+
);
35+
2736
describe('#royaltyInfo()', () => {
2837
describe('reverts if', () => {
2938
it('royalty exceeds maximum', async function () {

0 commit comments

Comments
 (0)