refactor: properly report on skipped native modules tests (#13894)
This commit is contained in:
parent
4cf264f87a
commit
c452be02b9
3 changed files with 5 additions and 14 deletions
|
@ -1697,10 +1697,8 @@ describe('BrowserWindow module', () => {
|
|||
done()
|
||||
})
|
||||
w.loadURL(`file://${path.join(fixtures, 'api', 'native-window-open-iframe.html')}`)
|
||||
})
|
||||
it('loads native addons correctly after reload', (done) => {
|
||||
if (!nativeModulesEnabled) return done()
|
||||
|
||||
});
|
||||
(nativeModulesEnabled ? it : it.skip)('loads native addons correctly after reload', (done) => {
|
||||
ipcMain.once('answer', (event, content) => {
|
||||
assert.equal(content, 'function')
|
||||
ipcMain.once('answer', (event, content) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue