mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix up tests for svg changes
This commit is contained in:
@@ -192,7 +192,7 @@ describe("red/nodes/registry/localfilesystem",function() {
|
||||
list["node-red"].icons[0].should.have.property("path",path.join(__dirname,"resources/local/NestedDirectoryNode/NestedNode/icons"))
|
||||
list["node-red"].icons[0].should.have.property("icons");
|
||||
list["node-red"].icons[0].icons.should.have.length(1);
|
||||
list["node-red"].icons[0].icons[0].should.eql("arrow-in.svg");
|
||||
list["node-red"].icons[0].icons[0].should.eql("arrow-in.png");
|
||||
done();
|
||||
});
|
||||
it("scans icons dir in library",function(done) {
|
||||
@@ -297,7 +297,7 @@ describe("red/nodes/registry/localfilesystem",function() {
|
||||
nodeModule.TestNodeModule.icons.should.have.length(1);
|
||||
nodeModule.TestNodeModule.icons[0].should.have.property("path");
|
||||
nodeModule.TestNodeModule.icons[0].should.have.property("icons");
|
||||
nodeModule.TestNodeModule.icons[0].icons[0].should.eql("arrow-in.svg");
|
||||
nodeModule.TestNodeModule.icons[0].icons[0].should.eql("arrow-in.png");
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user