mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix missing icons for some nodes (#1321)
This commit is contained in:
		
				
					committed by
					
						 Nick O'Leary
						Nick O'Leary
					
				
			
			
				
	
			
			
			
						parent
						
							a737810c50
						
					
				
				
					commit
					347e598715
				
			| @@ -497,6 +497,12 @@ describe("red/nodes/registry/registry",function() { | ||||
|             var iconPath = typeRegistry.getNodeIconPath('test-module','test_icon.png'); | ||||
|             iconPath.should.eql(testIcon); | ||||
|         }); | ||||
|  | ||||
|         it('returns the debug icon when getting an unknown module', function() { | ||||
|             var debugIcon = path.resolve(__dirname+'/../../../../../public/icons/debug.png'); | ||||
|             var iconPath = typeRegistry.getNodeIconPath('unknown-module', 'debug.png'); | ||||
|             iconPath.should.eql(debugIcon); | ||||
|         }); | ||||
|     }); | ||||
|  | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user