mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix unit test failures following mocha upgrade
This commit is contained in:
		| @@ -217,7 +217,7 @@ describe("nodes api", function() { | ||||
|                     if (module === "foo") { | ||||
|                         return { | ||||
|                             name:"foo", | ||||
|                             nodes:[{id:123}] | ||||
|                             nodes:[{id:"123"}] | ||||
|                         }; | ||||
|                     } | ||||
|                 }); | ||||
|   | ||||
| @@ -264,7 +264,7 @@ describe('LocalFileSystem', function() { | ||||
|     it('should return an empty list of library objects',function(done) { | ||||
|         localfilesystem.init({userDir:userDir}).then(function() { | ||||
|             localfilesystem.getLibraryEntry('object','').then(function(flows) { | ||||
|                 flows.should.eql({}); | ||||
|                 flows.should.eql([]); | ||||
|                 done(); | ||||
|             }).otherwise(function(err) { | ||||
|                 done(err); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user