debian-mirror-gitlab/spec/frontend/__helpers__/flush_promises.js
2022-05-07 20:08:51 +05:30

4 lines
131 B
JavaScript

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