From a9dae243b4df683c6cd07e0ee38364200e4a47c1 Mon Sep 17 00:00:00 2001 From: Yury Solovyov Date: Fri, 11 Nov 2016 09:32:41 +0300 Subject: [PATCH] Fix large icon spec --- spec/api-app-spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index f158cc851a01..bf5e767d790e 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -508,11 +508,11 @@ describe('app module', function () { if (process.platform === 'darwin') { return this.skip() // macOS does not support large icons } - app.getFileIcon(iconPath, { size: 'normal' }, function (err, icon) { + app.getFileIcon(iconPath, { size: 'large' }, function (err, icon) { const size = icon.getSize() assert.equal(err, null) - assert.equal(size.height, sizes.normal) - assert.equal(size.width, sizes.normal) + assert.equal(size.height, sizes.large) + assert.equal(size.width, sizes.large) done() }) })