Skip to content

Commit

Permalink
Fix test issue where polygon-localnet accounts were not being funded
Browse files Browse the repository at this point in the history
  • Loading branch information
r-marques committed Aug 12, 2022
1 parent 88c3e3b commit ddd8175
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/integration-tests/Assets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down

0 comments on commit ddd8175

Please sign in to comment.