Commit 8aa5d1af authored by analog-nico's avatar analog-nico
Browse files

docs: updated instructions for running request tests

parent e791f174
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,11 +19,11 @@ var BPromise = require('../request-promise/node_modules/bluebird')
BPromise.onPossiblyUnhandledRejection(function (err) {
  return err
})
module.exports = require('../request-promise/lib/rp.js')
module.exports = require('../request-promise/')
```

6. Go to temp/request-promise/lib/rp.js
7. Comment out the whole `var request = (function () { ... })();` block.
7. Comment out the `var request = stealthyRequire('request');` line.
8. Add `var request = require('../../request/index-orig.js');` right below.
9. Go to temp/request/ and run `npm test`.