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
|
@ -11,9 +11,7 @@ describe('modules support', () => {
|
|||
const fixtures = path.join(__dirname, 'fixtures')
|
||||
|
||||
describe('third-party module', () => {
|
||||
describe('runas', () => {
|
||||
if (!nativeModulesEnabled) return
|
||||
|
||||
(nativeModulesEnabled ? describe : describe.skip)('runas', () => {
|
||||
it('can be required in renderer', () => {
|
||||
require('runas')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue