Properly skip large size test on macOS
authorYury Solovyov <biohazard707@gmail.com>
Sun, 6 Nov 2016 11:29:45 +0000 (14:29 +0300)
committerKevin Sawicki <kevinsawicki@gmail.com>
Tue, 7 Feb 2017 17:54:22 +0000 (09:54 -0800)
spec/api-app-spec.js

index 9212e9711b425dde774cee4aea5862b0c4882954..2508efe388fa06b685506a5e872647d05de6512a 100644 (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()