gitlab-org--gitlab-foss/spec/frontend/helpers/wait_for_promises.js
Winnie Hellmann 2e7486681a Copy missing helpers from Karma to Jest
Copy missing helpers from Karma to Jest
2019-03-28 20:07:40 +01:00

1 line
77 B
JavaScript

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