@johnf/react-native-owl
Version:
Visual regression testing for React Native
13 lines (12 loc) • 396 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.waitFor = void 0;
/**
* Waits for the specified amount of time (in milliseconds) before resolving.
* @param ms: The number of miliseconds the function should wait for.
*/
const waitFor = ms => new Promise(resolve => setTimeout(resolve, ms));
exports.waitFor = waitFor;
//# sourceMappingURL=wait-for.js.map