difftreelog
fix PR
in: master
1 file changed
tests/src/eth/events.test.tsdiffbeforeafterboth133 unsubscribe();133 unsubscribe();134}134}135135136async function testAllowListAddressAddedAndAllowListAddressRemoved(helper: EthUniqueHelper, mode: TCollectionMode) {136async function testAllowListAddressAddedAndRemoved(helper: EthUniqueHelper, mode: TCollectionMode) {137 const owner = await helper.eth.createAccountWithBalance(donor);137 const owner = await helper.eth.createAccountWithBalance(donor);138 const user = helper.ethCrossAccount.createAccount();138 const user = helper.ethCrossAccount.createAccount();139 const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C');139 const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C');424 });424 });425 425 426 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {426 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {427 await testAllowListAddressAddedAndAllowListAddressRemoved(helper, mode);427 await testAllowListAddressAddedAndRemoved(helper, mode);428 });428 });429 429 430 itEth('CollectionChanged event for CollectionAdminAdded, CollectionAdminRemoved', async ({helper}) => {430 itEth('CollectionChanged event for CollectionAdminAdded, CollectionAdminRemoved', async ({helper}) => {464 });464 });465 465 466 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {466 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {467 await testAllowListAddressAddedAndAllowListAddressRemoved(helper, mode);467 await testAllowListAddressAddedAndRemoved(helper, mode);468 });468 });469 469 470 itEth('CollectionChanged event for CollectionAdminAdded, CollectionAdminRemoved', async ({helper}) => {470 itEth('CollectionChanged event for CollectionAdminAdded, CollectionAdminRemoved', async ({helper}) => {515 });515 });516 516 517 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {517 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {518 await testAllowListAddressAddedAndAllowListAddressRemoved(helper, mode);518 await testAllowListAddressAddedAndRemoved(helper, mode);519 });519 });520 520 521 itEth('CollectionChanged event for CollectionAdminAdded, CollectionAdminRemoved', async ({helper}) => {521 itEth('CollectionChanged event for CollectionAdminAdded, CollectionAdminRemoved', async ({helper}) => {