gitlab-org--gitlab-foss/spec/javascripts/helpers/set_timeout_promise_helper.js
2017-10-12 21:04:17 +00:00

3 lines
89 B
JavaScript

export default (time = 0) => new Promise((resolve) => {
setTimeout(resolve, time);
});