diff --git a/src/routes/safe/component/Safe.test.js b/src/routes/safe/component/Safe.test.js index 719b8db8..7666312c 100644 --- a/src/routes/safe/component/Safe.test.js +++ b/src/routes/safe/component/Safe.test.js @@ -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') diff --git a/src/routes/safe/component/Withdrawn/index.jsx b/src/routes/safe/component/Withdrawn/index.jsx index 28d41d91..04a39363 100644 --- a/src/routes/safe/component/Withdrawn/index.jsx +++ b/src/routes/safe/component/Withdrawn/index.jsx @@ -34,7 +34,7 @@ class Withdrawn extends React.Component { 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) {