mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #1854 from kazuhitoyokoi/master-fixtypointestcase4functionnode
Fix typo in test case
This commit is contained in:
commit
f809377de8
@ -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