mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix null checking in exec node test
This commit is contained in:
		@@ -259,7 +259,8 @@ describe('exec node', function() {
 | 
			
		||||
                n4.on("input", function(msg) {
 | 
			
		||||
                    try {
 | 
			
		||||
                        msg.should.have.property("payload");
 | 
			
		||||
                        should.not.be.null(msg.payload);
 | 
			
		||||
 | 
			
		||||
                        should.exist(msg.payload);
 | 
			
		||||
                        msg.payload.should.be.a.Number();
 | 
			
		||||
                        msg.payload.should.equal(0);
 | 
			
		||||
                        done();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user