Disable getFileIcon specs on Linux CI
This commit is contained in:
parent
0643d98d99
commit
ba03f04017
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue