gitlab-org--gitlab-foss/spec/javascripts/helpers/wait_for_promises.js

2 lines
77 B
JavaScript
Raw Normal View History

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