mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
Call done instead of skip
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user