WA-238 Fix delay in tests avoiding JEST default error

This commit is contained in:
apanizo 2018-05-14 13:46:30 +02:00
parent d66ef07f98
commit d61bf58963
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ describe('React DOM TESTS > Withdrawn funds from safe', () => {
TestUtils.Simulate.submit(form) // fill the form
TestUtils.Simulate.submit(form) // confirming data
await sleep(1200)
await sleep(4000)
const safeBalance = await getBalanceInEtherOf(address)
expect(safeBalance).toBe('0.09')

View File

@ -34,7 +34,7 @@ class Withdrawn extends React.Component<Props, State> {
try {
const { safeAddress, userAddress } = this.props
await withdrawn(values, safeAddress, userAddress)
await sleep(5000)
await sleep(3500)
this.props.fetchDailyLimit(safeAddress)
this.setState({ done: true })
} catch (error) {