From c01248ce4741b6a8ac73b11cbc16a718b798d124 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 26 Jun 2017 14:14:19 -0700 Subject: [PATCH] Remove unused require --- spec/api-browser-window-spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index c726a1b8b0e..27a94edf867 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -7,7 +7,6 @@ const path = require('path') const os = require('os') const qs = require('querystring') const http = require('http') -const net = require('net') const {closeWindow} = require('./window-helpers') const {ipcRenderer, remote, screen} = require('electron') @@ -1274,7 +1273,7 @@ describe('BrowserWindow module', function () { it('adds --enable-sandbox to render processes created with sandbox: true', (done) => { const appPath = path.join(__dirname, 'fixtures', 'api', 'mixed-sandbox-app') - ©appProcess = ChildProcess.spawn(remote.process.execPath, [appPath, '--enable-mixed-sandbox'], {stdio: ['ignore', 'ipc', 'ignore']}) + appProcess = ChildProcess.spawn(remote.process.execPath, [appPath, '--enable-mixed-sandbox'], {stdio: ['ignore', 'ipc', 'ignore']}) appProcess.once('message', (argv) => { assert.equal(argv.sandbox.includes('--enable-sandbox'), true) assert.equal(argv.sandbox.includes('--no-sandbox'), false)