"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.flushPromises = void 0;
/** deprecated Use React Testing Library's waitFor like method instead */
// eslint-disable-next-line @atlaskit/platform/no-set-immediate
var flushPromises = exports.flushPromises = function flushPromises() {
  return new Promise(function (resolve) {
    return setImmediate(resolve);
  });
};