Don't run mediaDevices spec on Linux CI
This commit is contained in:
parent
a4e04e6083
commit
20e9a87158
1 changed files with 5 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue