diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index 9212e9711b42..2508efe388fa 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -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()