1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fixup node test

This commit is contained in:
Nick O'Leary 2020-09-04 09:52:30 +01:00
parent 44b1819926
commit 5cf489a270
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -241,7 +241,7 @@ describe('Node', function() {
should.deepEqual(msg,message);
should.strictEqual(msg,message);
});
n2.on('input',function() {
n2.on('input',function(msg) {
messageReceived++;
messageReceived.should.be.exactly(2);
should.strictEqual(this,n2);