assert-request
assert-request copied to clipboard
More (working) examples
I really like the idea of this. But I can't get it to work (Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
).
I would really appreciate a whole lot more of examples and may be links to projects that are already using it.
There are some working examples in the tests: https://github.com/PlasmaPower/assert-request/blob/master/test/integration.js
But yeah, we do need more examples.
Oh, and with the error you're getting, make sure your tests don't take the "done" argument. If they take an argument, then the test framework will ignore the returned promise.