Call done instead of skip
This commit is contained in:
parent
ee66776450
commit
683a758dab
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue