Disable getFileIcon specs on Linux CI

This commit is contained in:
Kevin Sawicki 2017-02-07 18:24:35 -08:00
parent 0643d98d99
commit ba03f04017

View file

@ -9,6 +9,8 @@ const {closeWindow} = require('./window-helpers')
const {app, BrowserWindow, ipcMain} = remote const {app, BrowserWindow, ipcMain} = remote
const isCI = remote.getGlobal('isCi')
describe('electron module', function () { describe('electron module', function () {
it('does not expose internal modules to require', function () { it('does not expose internal modules to require', function () {
assert.throws(function () { assert.throws(function () {
@ -458,6 +460,9 @@ describe('app module', function () {
}) })
describe('getFileIcon() API', 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 iconPath = path.join(__dirname, 'fixtures/assets/icon.ico')
const sizes = { const sizes = {
small: 16, small: 16,