Fix a few failing tests on Windows

This commit is contained in:
Cheng Zhao 2016-04-30 18:21:18 +09:00
parent 2a55d93501
commit 214eb0430c
2 changed files with 10 additions and 2 deletions

View file

@ -97,6 +97,9 @@ describe('chromium feature', function () {
if (isCI && process.platform === 'linux') {
return
}
if (isCI && process.platform === 'win32') {
return
}
it('can return labels of enumerated devices', function (done) {
navigator.mediaDevices.enumerateDevices().then((devices) => {
@ -327,6 +330,10 @@ describe('chromium feature', function () {
})
describe('webgl', function () {
if (isCI && process.platform === 'win32') {
return
}
it('can be get as context in canvas', function () {
if (process.platform === 'linux') return