From ddd817516593d8b2880c0fd4c181c823b5698ee3 Mon Sep 17 00:00:00 2001 From: Rodolphe Marques Date: Fri, 12 Aug 2022 14:06:26 +0200 Subject: [PATCH] Fix test issue where polygon-localnet accounts were not being funded --- test/integration-tests/Assets.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/integration-tests/Assets.test.ts b/test/integration-tests/Assets.test.ts index 99ca65f..e0271cf 100644 --- a/test/integration-tests/Assets.test.ts +++ b/test/integration-tests/Assets.test.ts @@ -16,7 +16,10 @@ describe('Assets e2e Testing', () => { beforeAll(async () => { console.log(`NETWORK: ${execOpts.env.NETWORK}`) - if (execOpts.env.NETWORK === 'spree') { + if ( + execOpts.env.NETWORK === 'spree' || + execOpts.env.NETWORK === 'polygon-localnet' + ) { console.log(`Funding account: ${execOpts.accounts[0]}`) const fundCommand = `${baseCommands.accounts.fund} "${execOpts.accounts[0]}" --token erc20` console.debug(`COMMAND: ${fundCommand}`)