wrapAsync.js 202 B

123456789
  1. import { getConfig } from '@testing-library/dom';
  2. /**
  3. * Wrap an internal Promise
  4. */ function wrapAsync(implementation) {
  5. return getConfig().asyncWrapper(implementation);
  6. }
  7. export { wrapAsync };