test: skip desktopCapturer / remote module tests when the features are disabled (#20566)

This commit is contained in:
Milan Burda 2019-10-14 22:49:21 +02:00 committed by Jeremy Apthorp
parent b085dac15b
commit eb100cdf9e
2 changed files with 85 additions and 78 deletions

View file

@ -103,7 +103,7 @@ describe('webContents module', () => {
})
})
describe('webContents.print()', () => {
ifdescribe(features.isPrintingEnabled())('webContents.print()', () => {
afterEach(closeAllWindows)
it('throws when invalid settings are passed', () => {
const w = new BrowserWindow({ show: false })