UNPKG

@ima/plugin-testing-integration

Version:

IMA.js plugin for integration testing

26 lines (25 loc) 694 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "requireFromProject", { enumerable: true, get: function() { return requireFromProject; } }); const _path = /*#__PURE__*/ _interop_require_default(require("path")); function _interop_require_default(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Requires specified file from projectPath * * @param {string} projectPath relative project path to a file * @returns {*} File exports */ function requireFromProject(projectPath) { return require(_path.default.resolve(projectPath)); } //# sourceMappingURL=helpers.js.map