0.4.1 • Published 10 years ago

http-test-helper v0.4.1

Weekly downloads
1
License
WTFPL
Repository
github
Last release
10 years ago

http-test-helpers

A collection of helpers that I usually need when doing Node/REST API tests.

Note that this is still very much a work-in-progress, and there are huge holes in the current feature-set.

Features

Wrap request with a few convenience methods:

  • It supports both promises and regular callbacks -- Giving a callback makes it return the underlying request object, which is a read/write stream. This is useful for piping files.
  • auto-setting basic url
  • automatically translating certain types from the server (at least application/json)
0.4.1

10 years ago

0.4.0

10 years ago

0.3.1

10 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago