mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Slide timing window to left for trigger node test.
This commit is contained in:
parent
d4ac4c44d0
commit
a9a0953653
@ -15,10 +15,8 @@
|
||||
**/
|
||||
|
||||
var should = require("should");
|
||||
|
||||
var triggerNode = require("../../../../nodes/core/core/89-trigger.js");
|
||||
var helper = require("../../helper.js");
|
||||
|
||||
var triggerNode = require("../../../../nodes/core/core/89-trigger.js");
|
||||
|
||||
describe('trigger Node', function() {
|
||||
|
||||
@ -222,7 +220,7 @@ describe('trigger Node', function() {
|
||||
else {
|
||||
msg.should.have.a.property("payload", "World");
|
||||
//console.log(Date.now() - ss);
|
||||
(Date.now() - ss).should.be.greaterThan(399);
|
||||
(Date.now() - ss).should.be.greaterThan(380);
|
||||
done();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user