fix child process import

This commit is contained in:
Shelley Vohr 2018-02-08 13:50:19 -05:00
parent e10b5e13e9
commit f6d389b159
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -4,10 +4,11 @@ const http = require('http')
const path = require('path')
const ws = require('ws')
const url = require('url')
const ChildProcess = require('child_process')
const {ipcRenderer, remote} = require('electron')
const {closeWindow} = require('./window-helpers')
const {app, BrowserWindow, ipcMain, protocol, session, webContents, ChildProcess} = remote
const {app, BrowserWindow, ipcMain, protocol, session, webContents} = remote
const isCI = remote.getGlobal('isCi')
@ -26,7 +27,7 @@ describe('chromium feature', () => {
listener = null
})
describe('command line switches', () => {
describe.only('command line switches', () => {
describe('--lang switch', () => {
const testLocale = (locale, result, done) => {
const appPath = path.join(__dirname, 'fixtures', 'api', 'locale-check')