wrapAsync.js 223 B

1234567891011
  1. 'use strict';
  2. var dom = require('@testing-library/dom');
  3. /**
  4. * Wrap an internal Promise
  5. */ function wrapAsync(implementation) {
  6. return dom.getConfig().asyncWrapper(implementation);
  7. }
  8. exports.wrapAsync = wrapAsync;