mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix type checking in unit tests
This commit is contained in:
@@ -156,7 +156,7 @@ describe('tail Node', function() {
|
||||
msg.should.have.property('topic', fileToTail);
|
||||
inputCounter++;
|
||||
if (inputCounter === 1) {
|
||||
warned.should.be.false;
|
||||
warned.should.be.false();
|
||||
msg.payload.should.equal("Tail message line append");
|
||||
} else if (inputCounter === 2) {
|
||||
msg.payload.should.equal("Tail message line truncate");
|
||||
@@ -166,7 +166,7 @@ describe('tail Node', function() {
|
||||
|
||||
if (inputCounter === 5) {
|
||||
setTimeout(function() {
|
||||
warned.should.be.true;
|
||||
warned.should.be.true();
|
||||
done();
|
||||
},100);
|
||||
}
|
||||
|
Reference in New Issue
Block a user