Fix large icon spec

This commit is contained in:
Yury Solovyov 2016-11-11 09:32:41 +03:00 committed by Kevin Sawicki
parent c810e64fda
commit a9dae243b4

View file

@ -508,11 +508,11 @@ describe('app module', function () {
if (process.platform === 'darwin') { if (process.platform === 'darwin') {
return this.skip() // macOS does not support large icons return this.skip() // macOS does not support large icons
} }
app.getFileIcon(iconPath, { size: 'normal' }, function (err, icon) { app.getFileIcon(iconPath, { size: 'large' }, function (err, icon) {
const size = icon.getSize() const size = icon.getSize()
assert.equal(err, null) assert.equal(err, null)
assert.equal(size.height, sizes.normal) assert.equal(size.height, sizes.large)
assert.equal(size.width, sizes.normal) assert.equal(size.width, sizes.large)
done() done()
}) })
}) })