We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 303c16c commit a1dce10Copy full SHA for a1dce10
generator/templates/base/src/background.js
@@ -18,7 +18,7 @@ async function createWindow() {
18
webPreferences: {
19
<% if (spectronSupport) { %>
20
// Required for Spectron testing
21
- enableRemoteModule: true,
+ enableRemoteModule: !!process.env.IS_TEST,
22
<% } %>
23
// Use pluginOptions.nodeIntegration, leave this alone
24
// See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
0 commit comments