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") {
|
if (module === "foo") {
|
||||||
return {
|
return {
|
||||||
name:"foo",
|
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) {
|
it('should return an empty list of library objects',function(done) {
|
||||||
localfilesystem.init({userDir:userDir}).then(function() {
|
localfilesystem.init({userDir:userDir}).then(function() {
|
||||||
localfilesystem.getLibraryEntry('object','').then(function(flows) {
|
localfilesystem.getLibraryEntry('object','').then(function(flows) {
|
||||||
flows.should.eql({});
|
flows.should.eql([]);
|
||||||
done();
|
done();
|
||||||
}).otherwise(function(err) {
|
}).otherwise(function(err) {
|
||||||
done(err);
|
done(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user