Raul Ochoa
b29358a0ed
Remove old response from assert
2016-09-26 18:11:40 +02:00
Raul Ochoa
abc2f130c9
Migrate to express 4.x series
...
- Remove express logger
- Error handler responds with application/[json|javascript]
- Fix all tests relying on res.headers
- assert.response based on request module
2016-09-26 18:09:27 +02:00
Raul Ochoa
c9846a2437
Change callback signature in assert.response
2016-09-26 14:37:40 +02:00
Daniel García Aubert
052cb0796d
Modified fallback tests in order to use our custom assert.response
2016-05-20 14:42:53 +02:00
Raul Ochoa
0500d21fd5
Removes unused method in assert extension
2014-08-28 10:43:36 +02:00
Raul Ochoa
6525b62fe2
Adds extra information when status/headers dont match
2014-08-27 17:09:31 +02:00
Raul Ochoa
840afa7a77
Make check() before any other assert
2014-08-27 16:39:16 +02:00
Raul Ochoa
85c70cc5f4
Call check before callback so the server is closed before the callback
...
throws an exception
2014-08-27 16:28:03 +02:00
Raul Ochoa
96e47c4bdb
Corrects JSDoc
2014-08-26 18:25:17 +02:00
Sandro Santilli
b0d0d4d073
Reduce work on aborted requests
...
Closes #129
Includes testcase
2014-03-19 13:30:29 +01:00
Sandro Santilli
6c47537f47
Honour the 'node_socket_timeout' configuration directive
...
Closes #128
Includes testcase, which required enhancing assert.response to
handle errors.
Changes app controller to a function that only reads configuration
when executed (rather than when only require'd).
2014-01-31 10:58:19 +01:00
Sandro Santilli
192bc736ca
Disable http client connection pooling while running tests
...
This is a workaround for issue #38
2012-07-16 13:38:40 +02:00
Sandro Santilli
e4f3a94256
Port tests to mocha. Closes #35 .
2012-07-13 10:29:09 +02:00