Skip to content

Commit

Permalink
adds beforeEachWithRetries hook to Attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
alecps committed Aug 8, 2020
1 parent 48c78d0 commit 6b3570c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/protocol/test/identity/attestations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
} from 'types'
import Web3 from 'web3'
import { getParsedSignatureOfAddress } from '../../lib/signing-utils'
import { beforeEachWithRetries } from '../customHooks'
// tslint:disable-next-line: ordered-imports
import Web3X = require('web3')

Expand Down Expand Up @@ -135,7 +136,7 @@ contract('Attestations', (accounts: string[]) => {
})
}

beforeEach(async () => {
beforeEachWithRetries('Attestations setup', 3, 3000, async () => {
accountsInstance = await Accounts.new()
mockStableToken = await MockStableToken.new()
otherMockStableToken = await MockStableToken.new()
Expand Down

0 comments on commit 6b3570c

Please sign in to comment.