Update tests to Supertest 2.0.0
Supertest 2 removes type coercion in expect
s for fields, so the content-length checks in the test suite had to be changed to strings:
// before
expect('Content-Length', 33)
// after
expect('Content-Length', '33')
Supertest 2 removes type coercion in expect
s for fields, so the content-length checks in the test suite had to be changed to strings:
// before
expect('Content-Length', 33)
// after
expect('Content-Length', '33')