This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function (wallaby) { | |
| // Babel, jest-cli and some other modules may be located under | |
| // react-scripts/node_modules, so need to let node.js know about it | |
| var path = require('path'); | |
| process.env.NODE_PATH += | |
| path.delimiter + | |
| path.join(__dirname, 'node_modules') + | |
| path.delimiter + | |
| path.join(__dirname, 'node_modules/react-scripts/node_modules'); |