From 349cd98b0a5517ffeb3bf2c277af4b2bae130565 Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Wed, 4 May 2022 08:56:45 +0200 Subject: [PATCH] test: fix nativeModulesEnabled in spec/webview-spec.js (#34027) --- spec/webview-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/webview-spec.js b/spec/webview-spec.js index 0b649d1bd77a..f4af0158f2c8 100644 --- a/spec/webview-spec.js +++ b/spec/webview-spec.js @@ -7,7 +7,7 @@ const { emittedOnce, waitForEvent } = require('./events-helpers'); const { ifdescribe, ifit, delay } = require('./spec-helpers'); const features = process._linkedBinding('electron_common_features'); -const nativeModulesEnabled = process.env.ELECTRON_SKIP_NATIVE_MODULE_TESTS; +const nativeModulesEnabled = !process.env.ELECTRON_SKIP_NATIVE_MODULE_TESTS; /* Most of the APIs here don't use standard callbacks */ /* eslint-disable standard/no-callback-literal */