Skip to content

Commit 84f7da6

Browse files
committed
Fix null checking in exec node test
1 parent 22e1baf commit 84f7da6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/nodes/core/core/75-exec_spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ describe('exec node', function() {
259259
n4.on("input", function(msg) {
260260
try {
261261
msg.should.have.property("payload");
262-
should.not.be.null(msg.payload);
262+
263+
should.exist(msg.payload);
263264
msg.payload.should.be.a.Number();
264265
msg.payload.should.equal(0);
265266
done();

0 commit comments

Comments
 (0)