Skip to content

Commit

Permalink
Simplify array creation for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ezewer authored and JacobPlaster committed Jun 11, 2020
1 parent def6c6a commit beb16ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/models/currency.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ describe('Currency model', () => {
id: new Array(...(new Array(5))).map(() => Math.random()),
name: VALID_STRINGS,
pool: VALID_STRINGS,
explorer: new Array(...(new Array(5))).map(() => []),
walletFx: new Array(...(new Array(5))).map(() => [])
explorer: new Array(5).fill([]),
walletFx: new Array(5).fill([])
}
})
})

0 comments on commit beb16ab

Please sign in to comment.