Skip to content

Commit

Permalink
docs: updated instructions for running request tests
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-nico committed Jul 12, 2016
1 parent e791f17 commit 8aa5d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-request-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit 8aa5d1a

Please sign in to comment.