test: skip desktopCapturer / remote module tests when the features are disabled (#20566)
This commit is contained in:
parent
b085dac15b
commit
eb100cdf9e
2 changed files with 85 additions and 78 deletions
|
@ -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 })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue