mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix improper type tests is core test cases
This commit is contained in:
@@ -75,7 +75,7 @@ describe('inject node', function() {
|
||||
var n3 = helper.getNode("n3");
|
||||
n3.on("input", function(msg) {
|
||||
msg.should.have.property('topic', 't3');
|
||||
msg.should.have.property('payload').be.a.Number;
|
||||
msg.should.have.property('payload').be.a.Number();
|
||||
helper.clearFlows().then(function() {
|
||||
done();
|
||||
});
|
||||
|
Reference in New Issue
Block a user