From f782943099e1e1413e583e31e1673772903e9966 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Tue, 3 Aug 2021 10:19:21 -0400 Subject: [PATCH] Move variable declaration to top of test file (#2806) Co-authored-by: Francisco Giordano --- test/token/ERC721/ERC721.behavior.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/token/ERC721/ERC721.behavior.js b/test/token/ERC721/ERC721.behavior.js index d3668165f..2a85bcaba 100644 --- a/test/token/ERC721/ERC721.behavior.js +++ b/test/token/ERC721/ERC721.behavior.js @@ -12,6 +12,7 @@ const Error = [ 'None', 'RevertWithMessage', 'RevertWithoutMessage', 'Panic' ] const firstTokenId = new BN('5042'); const secondTokenId = new BN('79217'); const nonExistentTokenId = new BN('13'); +const fourthTokenId = new BN(4); const baseURI = 'https://api.example.com/v1/'; const RECEIVER_MAGIC_VALUE = '0x150b7a02'; @@ -342,7 +343,6 @@ function shouldBehaveLikeERC721 (errorPrefix, owner, newOwner, approved, another }); describe('safe mint', function () { - const fourthTokenId = new BN(4); const tokenId = fourthTokenId; const data = '0x42';