1
0
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:
Nick O'Leary 2018-05-30 10:18:57 +01:00 committed by GitHub
commit 8d63b6a1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {