12345import { ApiPromise } from '@polkadot/api';6import BN from 'bn.js';7import chai from 'chai';8import chaiAsPromised from 'chai-as-promised';9import privateKey from './substrate/privateKey';10import { default as usingApi, submitTransactionAsync, submitTransactionExpectFailAsync } from './substrate/substrate-api';11import {createCollectionExpectSuccess, destroyCollectionExpectSuccess} from './util/helpers';1213chai.use(chaiAsPromised);14const expect = chai.expect;1516interface ITokenDataType {17 Owner: number[];18 ConstData: number[];19 VariableData: number[];20}2122describe('Integration Test transferFrom(from, recipient, collection_id, item_id, value):', () => {23 it('Execute the extrinsic and check nftItemList - owner of toren', async () => {24 await usingApi(async (api: ApiPromise) => {2526 });27 });28});2930describe('Negative Integration Test transferFrom(from, recipient, collection_id, item_id, value):', () => {31 it('transferFrom for a collection that does not exist', async () => {32 await usingApi(async (api: ApiPromise) => {3334 });35 });3637 it('transferFrom for a collection that was destroyed', async () => {38 await usingApi(async (api: ApiPromise) => {3940 });41 });4243 it('transferFrom a token that does not exist', async () => {44 await usingApi(async (api: ApiPromise) => {4546 });47 });4849 it('transferFrom a token that was deleted', async () => {50 await usingApi(async (api: ApiPromise) => {5152 });53 });5455 it('transferFrom for not approved address', async () => {56 await usingApi(async (api: ApiPromise) => {5758 });59 });6061 it('transferFrom incorrect token count', async () => {62 await usingApi(async (api: ApiPromise) => {6364 });65 });6667 it('execute transferFrom from account that is not owner of collection', async () => {68 await usingApi(async (api: ApiPromise) => {6970 });71 });72});