diff --git a/nodes/core/core/89-trigger.html b/nodes/core/core/89-trigger.html index 40e40f19d..69286866c 100644 --- a/nodes/core/core/89-trigger.html +++ b/nodes/core/core/89-trigger.html @@ -137,9 +137,9 @@ } var optionNothing = {value:"nul",label:this._("trigger.output.nothing"),hasValue:false}; - var optionPayload = {value:"pay",label:this._("trigger.output.existing"),hasValue:false} - var optionOriginalPayload = {value:"pay",label:this._("trigger.output.original"),hasValue:false} - var optionLatestPayload = {value:"payl",label:this._("trigger.output.latest"),hasValue:false} + var optionPayload = {value:"pay",label:this._("trigger.output.existing"),hasValue:false}; + var optionOriginalPayload = {value:"pay",label:this._("trigger.output.original"),hasValue:false}; + var optionLatestPayload = {value:"payl",label:this._("trigger.output.latest"),hasValue:false}; $("#node-input-op1").typedInput({ default: 'str', diff --git a/test/nodes/core/core/89-trigger_spec.js b/test/nodes/core/core/89-trigger_spec.js index 23af5c8cc..dddf1593b 100644 --- a/test/nodes/core/core/89-trigger_spec.js +++ b/test/nodes/core/core/89-trigger_spec.js @@ -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); }); });