PromoCursed/node_modules/eslint-plugin-testing-library/utils/file-import.js

7 lines
362 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.importDefault = void 0;
const interopRequireDefault = (obj) => (obj === null || obj === void 0 ? void 0 : obj.__esModule) ? obj : { default: obj };
const importDefault = (moduleName) => interopRequireDefault(require(moduleName)).default;
exports.importDefault = importDefault;