@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
18 lines (16 loc) • 486 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("@testing-library/react-native");
// eslint-disable-next-line import/no-extraneous-dependencies
const waitForNextUpdate = async () => {
await (0, _reactNative.act)(async () => {
await new Promise(resolve => {
setTimeout(resolve, 0);
});
});
};
var _default = exports.default = waitForNextUpdate;
//# sourceMappingURL=test-utils.js.map