debian-mirror-gitlab/spec/frontend/__helpers__/flush_promises.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
131 B
JavaScript
Raw Normal View History

2021-11-18 22:05:49 +05:30
export default function flushPromises() {
2022-05-07 20:08:51 +05:30
// eslint-disable-next-line no-restricted-syntax
2021-11-18 22:05:49 +05:30
return new Promise(setImmediate);
}