--- a/tests/src/util/helpers.ts +++ b/tests/src/util/helpers.ts @@ -268,7 +268,7 @@ name: string, description: string, tokenPrefix: string, - shemaVersion: string, + schemaVersion: string, }; const defaultCreateCollectionParams: CreateCollectionParams = { @@ -276,11 +276,11 @@ mode: {type: 'NFT'}, name: 'name', tokenPrefix: 'prefix', - shemaVersion: 'ImageURL', + schemaVersion: 'ImageURL', }; export async function createCollectionExpectSuccess(params: Partial = {}): Promise { - const {name, description, mode, tokenPrefix, shemaVersion} = {...defaultCreateCollectionParams, ...params}; + const {name, description, mode, tokenPrefix, schemaVersion} = {...defaultCreateCollectionParams, ...params}; let collectionId = 0; await usingApi(async (api) => { @@ -304,7 +304,7 @@ description: strToUTF16(description), tokenPrefix: strToUTF16(tokenPrefix), mode: modeprm as any, - schemaVersion: shemaVersion, + schemaVersion: schemaVersion, }); const events = await submitTransactionAsync(alicePrivateKey, tx); const result = getCreateCollectionResult(events);