From d3ed694b7a7e4e9662e66b3f3fd0aa38d3597940 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Thu, 21 Apr 2022 15:54:18 +0000 Subject: [PATCH] fix misprint --- --- 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); -- gitstuff