@johnf/react-native-owl
Version:
Visual regression testing for React Native
17 lines (16 loc) • 348 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.fileExists = void 0;
var _fs = require("fs");
const fileExists = async filePath => {
try {
await _fs.promises.access(filePath);
return true;
} catch {
return false;
}
};
exports.fileExists = fileExists;
//# sourceMappingURL=file-exists.js.map