Call done instead of skip

This commit is contained in:
Kevin Sawicki 2017-02-07 10:16:09 -08:00
parent ee66776450
commit 683a758dab

View file

@ -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)