aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib/test-timeout.js
blob: 957b0fce2e381d2cad7c020d6a5fe259e61b5ced (plain) (blame)
1
2
3
4
5
export default function timeout (time) {
  return new Promise((resolve, reject) => {
    setTimeout(resolve, time || 1500)
  })
}