10 lines
202 B
JavaScript
10 lines
202 B
JavaScript
import { getConfig } from '@testing-library/dom';
|
|
|
|
/**
|
|
* Wrap an internal Promise
|
|
*/ function wrapAsync(implementation) {
|
|
return getConfig().asyncWrapper(implementation);
|
|
}
|
|
|
|
export { wrapAsync };
|