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
|
@ -204,14 +204,9 @@ describe('<webview> tag', function () {
|
|||
allowpopups: 'on',
|
||||
src
|
||||
})
|
||||
})
|
||||
|
||||
it('loads native modules when navigation happens', async function () {
|
||||
if (!nativeModulesEnabled) {
|
||||
this.skip()
|
||||
return
|
||||
}
|
||||
});
|
||||
|
||||
(nativeModulesEnabled ? it : it.skip)('loads native modules when navigation happens', async function () {
|
||||
await loadWebView(webview, {
|
||||
nodeintegration: 'on',
|
||||
src: `file://${fixtures}/pages/native-module.html`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue