Properly skip large size test on macOS
This commit is contained in:
parent
1aa4fcae08
commit
c36cdb8580
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ describe('app module', function () {
|
||||||
|
|
||||||
it('fetches large icons', function (done) {
|
it('fetches large icons', function (done) {
|
||||||
if (process.platform === 'darwin') {
|
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) {
|
app.getFileIcon(iconPath, { size: 'normal' }, function (err, icon) {
|
||||||
const size = icon.getSize()
|
const size = icon.getSize()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue