Properly skip large size test on macOS

This commit is contained in:
Yury Solovyov 2016-11-06 14:29:45 +03:00 committed by Kevin Sawicki
parent 1aa4fcae08
commit c36cdb8580

View file

@ -506,7 +506,7 @@ describe('app module', function () {
it('fetches large icons', function (done) {
if (process.platform === 'darwin') {
done() // macOS does not support large icons
return this.skip() // macOS does not support large icons
}
app.getFileIcon(iconPath, { size: 'normal' }, function (err, icon) {
const size = icon.getSize()