gitlab-org--gitlab-foss/spec/javascripts/helpers/wait_for_promises.js
2018-07-10 19:28:14 +00:00

1 line
77 B
JavaScript

export default () => new Promise(resolve => requestAnimationFrame(resolve));