Open digigarlab opened 5 years ago
Hi, I have the same issue by using the supertest API : helper.request().get("/").expect(200).end(done);
I always get a 404 .
same problem. how can we write integration tests involving NR's http in
node?
The test http requests originate outside, e.g. from a python or go program.
Hi there,
I am basically writing a network adapter between two http APIs, and I want to write some integration tests.
For now I have a very simple flow with 2 nodes:
That was pretty trivial to implement with
node-red
and it's working fine (I can query mynode-red
instance with CURL and get the 204 message). However when I try to test this with thenode-red-node-test-helper
I always get a 404.Here is the code I used:
Do you have any idea why this is not working? I couldn't find any recipe of integration testing with
node-red
andhttp in/out
online, it would be great if someone could point to a fix or suggest another approach. Thanks.