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

4 lines
131 B
JavaScript

export default function flushPromises() {
// eslint-disable-next-line no-restricted-syntax
return new Promise(setImmediate);
}