Supertest ^2.0.0 supports Promises by default #1170

Merged
merged 1 commit into from Jan 6, 2017

Projects

None yet

2 participants

@goto-bus-stop
Contributor

Hi! 👋 The endpoint-testing recipe mentions using SuperTest-as-promised, but it's deprecated since SuperTest now supports Promises itself.

See https://github.com/visionmedia/supertest/blob/master/History.md#200--2016-07-29

Thanks for y'all's work on Ava, it's great 🎉

@goto-bus-stop goto-bus-stop Supertest ^2.0.0 supports Promises by default
1de11bc
@novemberborn novemberborn merged commit ab314c4 into avajs:master Jan 6, 2017

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 96.985%
Details
@novemberborn
Member

Thanks @goto-bus-stop!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment