Merge pull request #8624 from electron/disable-file-icon-specs-on-linux

Disable getFileIcon specs on Linux CI
This commit is contained in:
Kevin Sawicki 2017-02-07 18:30:00 -08:00 committed by GitHub
commit f9b319e4f8

View file

@ -9,6 +9,8 @@ const {closeWindow} = require('./window-helpers')
const {app, BrowserWindow, ipcMain} = remote
const isCI = remote.getGlobal('isCi')
describe('electron module', function () {
it('does not expose internal modules to require', function () {
assert.throws(function () {
@ -458,6 +460,9 @@ describe('app module', function () {
})
describe('getFileIcon() API', function () {
// FIXME Get these specs running on Linux CI
if (process.platform === 'linux' && isCI) return
const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico')
const sizes = {
small: 16,