mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix unit test failures following mocha upgrade
This commit is contained in:
parent
1e6f45852f
commit
8eb1a02407
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user