Showing the changes to node_modules/simple-git/src/util/dependencies.js (1 of 41 files). Show all
Unified · Split
| @@ -0,0 +1,12 @@ | ||
| 1 | +/** | |
| 2 | + * Exports the utilities `simple-git` depends upon to allow for mocking during a test | |
| 3 | + */ | |
| 4 | +module.exports = { | |
| 5 | + | |
| 6 | + buffer: function () { return require('buffer').Buffer; }, | |
| 7 | + | |
| 8 | + childProcess: function () { return require('child_process'); }, | |
| 9 | + | |
| 10 | + exists: require('./exists') | |
| 11 | + | |
| 12 | +}; | |