1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix Flow test for updated node.done api

This commit is contained in:
Nick O'Leary 2019-08-14 22:55:46 +01:00
parent 4ce0e39760
commit 83932e1725
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -148,10 +148,10 @@ describe('Flow', function() {
this.stopped = false;
this.closeDelay = n.closeDelay || 50;
currentNodes[node.id] = node;
this.on('input',function(msg, done) {
this.on('input',function(msg, send, done) {
node.handled++;
node.messages.push(msg);
node.send(msg);
send(msg);
done();
});
this.on('close',function(done) {