UNPKG

react-native-node-api

Version:
12 lines (11 loc) 664 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.weakNodeApiPath = void 0; const strict_1 = __importDefault(require("node:assert/strict")); const node_fs_1 = __importDefault(require("node:fs")); const node_path_1 = __importDefault(require("node:path")); exports.weakNodeApiPath = node_path_1.default.resolve(__dirname, "../../weak-node-api"); (0, strict_1.default)(node_fs_1.default.existsSync(exports.weakNodeApiPath), `Expected Weak Node API path to exist: ${exports.weakNodeApiPath}`);