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