mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
nail trigger test for windows AND linux
This commit is contained in:
@@ -413,11 +413,11 @@ describe('trigger node', function() {
|
||||
n1.emit("input", {payload:"foo"}); // trigger
|
||||
setTimeout( function() {
|
||||
n1.emit("input", {reset:true}); // reset
|
||||
},95);
|
||||
},90);
|
||||
setTimeout( function() {
|
||||
c.should.equal(4); // should send foo 4 times.
|
||||
c.should.equalOneOf(3,4); // should send foo 3 or 4 times.
|
||||
done();
|
||||
},150);
|
||||
},180);
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user