git.delta.rocks / unique-network / refs/commits / 5403a31c4f6d

difftreelog

source

tests/src/rmrk/createCollection.test.ts596 Bsourcehistory
1import {getApiConnection} from '../substrate/substrate-api';2import {createCollection} from './util/tx';34describe('Integration test: create new collection', () => {5  let api: any;6  before(async () => { api = await getApiConnection(); });78  const alice = '//Alice';910  it('create NFT collection', async () => {11    await createCollection(api, alice, 'test-metadata', 42, 'test-symbol');12  });1314  it('create NFT collection without token limit', async () => {15    await createCollection(api, alice, 'no-limit-metadata', null, 'no-limit-symbol');16  });1718  after(() => { api.disconnect(); });19});