Don't run mediaDevices spec on Linux CI

This commit is contained in:
Kevin Sawicki 2016-03-04 12:38:39 -08:00
parent a4e04e6083
commit 20e9a87158

View file

@ -7,6 +7,8 @@ const remote = require('electron').remote;
const BrowserWindow = remote.require('electron').BrowserWindow;
const session = remote.require('electron').session;
const isCI = remote.getGlobal('isCi');
describe('chromium feature', function() {
var fixtures = path.resolve(__dirname, 'fixtures');
var listener = null;
@ -91,6 +93,9 @@ describe('chromium feature', function() {
if (process.env.TRAVIS === 'true') {
return;
}
if (isCI && process.platform === 'linux') {
return;
}
it('can return labels of enumerated devices', function(done) {
navigator.mediaDevices.enumerateDevices().then((devices) => {