From 683a758daba7f66884897f33fd54aa143ea6f337 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 7 Feb 2017 10:16:09 -0800 Subject: [PATCH] Call done instead of skip --- spec/api-app-spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index bf5e767d79..8d754bf65e 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -505,9 +505,9 @@ describe('app module', function () { }) it('fetches large icon', function (done) { - if (process.platform === 'darwin') { - return this.skip() // macOS does not support large icons - } + // macOS does not support large icons + if (process.platform === 'darwin') return done() + app.getFileIcon(iconPath, { size: 'large' }, function (err, icon) { const size = icon.getSize() assert.equal(err, null)