node-hocus-pocus / legerdemain

Run your Node.js web apps from AWS API Gateway.
83 stars 4 forks source link

Recommend using `superagent` instead of `supertest` #1

Open markstos opened 9 years ago

markstos commented 9 years ago

supertest is used in this module, but none of the testing methods that it has are used that are saw.

It appears that the simpler superagent module could be a drop-in replacement, slimming down one of your dependencies a bit.

https://www.npmjs.com/package/superagent

johntitus commented 9 years ago

Supertest does have some cruft we don't need, but it handles spinning up the app, while superagent doesn't.

Going to leave this open to look at again in the future.