1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix test failure of icon scan on windows

This commit is contained in:
Hiroyasu Nishiyama 2018-05-24 12:06:39 +09:00
parent 184b1b018c
commit 83854c28db

View File

@ -563,7 +563,7 @@ describe("red/nodes/registry/registry",function() {
}
},icons: [{path:testIcon,icons:['test_icon.png']}]});
var iconPath = typeRegistry.getNodeIconPath('test-module','test_icon.png');
iconPath.should.eql(testIcon+"/test_icon.png");
iconPath.should.eql(path.resolve(testIcon+"/test_icon.png"));
});
it('returns the debug icon when getting an unknown module', function() {