mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix typo in test case for function node
This commit is contained in:
parent
dfa077fd5f
commit
695873d35a
@ -1216,7 +1216,7 @@ describe('function node', function() {
|
|||||||
msg.should.have.property('payload', n1.id);
|
msg.should.have.property('payload', n1.id);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
n1.receive({payload:"foo",topicb: "bar"});
|
n1.receive({payload:"foo",topic: "bar"});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1230,7 +1230,7 @@ describe('function node', function() {
|
|||||||
msg.should.have.property('payload', n1.name);
|
msg.should.have.property('payload', n1.name);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
n1.receive({payload:"foo",topicb: "bar"});
|
n1.receive({payload:"foo",topic: "bar"});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user