difftreelog
test remove .only
in: master
1 file changed
tests/src/sub/nesting/nesting.negative.test.tsdiffbeforeafterboth109 {mode: 'nft' as const, nesting: {tokenOwner: true, collectionAdmin: false}},109 {mode: 'nft' as const, nesting: {tokenOwner: true, collectionAdmin: false}},110 {mode: 'nft' as const, nesting: {tokenOwner: false, collectionAdmin: true}},110 {mode: 'nft' as const, nesting: {tokenOwner: false, collectionAdmin: true}},111].map(testCase => {111].map(testCase => {112 itSub.only(`${testCase.nesting.tokenOwner ? 'Admin' : 'Token owner'} cannot nest when only ${testCase.nesting.tokenOwner ? 'tokenOwner' : 'collectionAdmin'} is allowed`, async ({helper}) => {112 itSub(`${testCase.nesting.tokenOwner ? 'Admin' : 'Token owner'} cannot nest when only ${testCase.nesting.tokenOwner ? 'tokenOwner' : 'collectionAdmin'} is allowed`, async ({helper}) => {113 // Create collection with tokenOwner or create collection with collectionAdmin permission:113 // Create collection with tokenOwner or create collection with collectionAdmin permission:114 const targetCollection = await helper.nft.mintCollection(alice, {permissions: {nesting: testCase.nesting}});114 const targetCollection = await helper.nft.mintCollection(alice, {permissions: {nesting: testCase.nesting}});115 const targetTokenCharlie = await targetCollection.mintToken(alice, {Substrate: charlie.address});115 const targetTokenCharlie = await targetCollection.mintToken(alice, {Substrate: charlie.address});