mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
fix httprequest error
This commit is contained in:
parent
b0d9903fe2
commit
c866eb148c
@ -2322,7 +2322,7 @@ describe('HTTP Request Node', function() {
|
||||
var n2 = helper.getNode("n2");
|
||||
n2.on('input', function(msg) {
|
||||
try{
|
||||
msg.payload.should.equal(`RequestError: Parse Error: Missing expected CR after header value : http://localhost:${port}/`)
|
||||
msg.payload.should.startWith(`RequestError: Parse Error:`)
|
||||
done()
|
||||
} catch (err) {
|
||||
done(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user