gitlab-org--gitlab-foss/spec/frontend/__helpers__/flush_promises.js

3 lines
80 B
JavaScript

export default function flushPromises() {
return new Promise(setImmediate);
}