Skip to content
Permalink
Browse files

test: fix test parameterization variables (#779)

  • Loading branch information...
sohkai committed Apr 9, 2019
1 parent ca52be5 commit 7b9cbd0ae4ee771f3c1a55483ae5683f944866f2
Showing with 3 additions and 3 deletions.
  1. +2 −2 apps/finance/test/finance.js
  2. +1 −1 apps/vault/test/vault_shared.js
@@ -225,7 +225,7 @@ contract('Finance App', accounts => {
assert.equal(await finance.currentPeriodId(), 1, 'should have transitioned 1 periods')
})

for ({ title, tokenContract} of tokenTestGroups) {
for (const { title, tokenContract} of tokenTestGroups) {
context(`ERC20 (${title}) deposits`, () => {
const transferAmount = 5
let tokenInstance
@@ -305,7 +305,7 @@ contract('Finance App', accounts => {
})
})

for ({ title, tokenContract} of tokenTestGroups) {
for (const { title, tokenContract} of tokenTestGroups) {
context(`locked ERC20 (${title})`, () => {
const lockedTokenAmount = 5
let tokenInstance
@@ -165,7 +165,7 @@ module.exports = (
tokenContract: TokenReturnMissingMock,
},
]
for ({ title, tokenContract} of tokenTestGroups) {
for (const { title, tokenContract} of tokenTestGroups) {
context(`> ERC20 (${title})`, () => {
let token

0 comments on commit 7b9cbd0

Please sign in to comment.
You can’t perform that action at this time.