Explicitly skip tests that should be skipped
This commit is contained in:
parent
42d7d51b75
commit
cf749a8e18
19 changed files with 675 additions and 262 deletions
|
@ -4,7 +4,11 @@ const {desktopCapturer, remote} = require('electron')
|
|||
const isCI = remote.getGlobal('isCi')
|
||||
|
||||
describe('desktopCapturer', () => {
|
||||
if (isCI && process.platform === 'win32') return
|
||||
before(function () {
|
||||
if (isCI && process.platform === 'win32') {
|
||||
this.skip()
|
||||
}
|
||||
})
|
||||
|
||||
it('should return a non-empty array of sources', (done) => {
|
||||
desktopCapturer.getSources({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue