From 5a9f32d86aef7abac906d5ae992a969f8bac115b Mon Sep 17 00:00:00 2001 From: Anjan Roy Date: Wed, 31 Mar 2021 21:19:21 +0530 Subject: [PATCH] fix: corrected async function syntax --- test/predicates/ERC721Predicate.test.js | 2 +- test/predicates/MintableERC721Predicate.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/predicates/ERC721Predicate.test.js b/test/predicates/ERC721Predicate.test.js index 4af05b5b..c5f3e761 100644 --- a/test/predicates/ERC721Predicate.test.js +++ b/test/predicates/ERC721Predicate.test.js @@ -298,7 +298,7 @@ contract('ERC721Predicate', (accounts) => { owner.should.equal(withdrawer) }) - it('Token URI should match with transferred metadata', async function () { + it('Token URI should match with transferred metadata', async () => { const _metaData = await dummyERC721.tokenURI(tokenId) _metaData.should.equal(metaData) }) diff --git a/test/predicates/MintableERC721Predicate.test.js b/test/predicates/MintableERC721Predicate.test.js index 93cf5983..80380fe8 100644 --- a/test/predicates/MintableERC721Predicate.test.js +++ b/test/predicates/MintableERC721Predicate.test.js @@ -293,7 +293,7 @@ contract('MintableERC721Predicate', (accounts) => { owner.should.equal(withdrawer) }) - it('Token URI should match with transferred metadata', async _ => { + it('Token URI should match with transferred metadata', async () => { const _metaData = await dummyMintableERC721.tokenURI(tokenId) _metaData.should.equal(metaData) })