UNPKG

@ima/plugin-testing-integration

Version:

IMA.js plugin for integration testing

12 lines (11 loc) 331 B
import path from 'path'; /** * Requires specified file from projectPath * * @param {string} projectPath relative project path to a file * @returns {*} File exports */ function requireFromProject(projectPath) { return require(path.resolve(projectPath)); } export { requireFromProject }; //# sourceMappingURL=helpers.js.map