mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #1734 from node-red-hitachi/0.19-fix-icon-scan-test-for-win
Fix test failure of icon scan on Windows
This commit is contained in:
commit
8d63b6a1ed
@ -563,7 +563,7 @@ describe("red/nodes/registry/registry",function() {
|
|||||||
}
|
}
|
||||||
},icons: [{path:testIcon,icons:['test_icon.png']}]});
|
},icons: [{path:testIcon,icons:['test_icon.png']}]});
|
||||||
var iconPath = typeRegistry.getNodeIconPath('test-module','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() {
|
it('returns the debug icon when getting an unknown module', function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user