Fix JS style

This commit is contained in:
Ryohei Ikegami 2017-04-03 20:23:36 +09:00
parent 50c99e4507
commit d1212d4a43

View file

@ -136,7 +136,7 @@ describe('require', () => {
describe('when loaded URL is not file: protocol', () => { describe('when loaded URL is not file: protocol', () => {
it('searches for module under app directory', async () => { it('searches for module under app directory', async () => {
const w = new BrowserWindow({ const w = new BrowserWindow({
show: false, show: false
}) })
w.loadURL('about:blank') w.loadURL('about:blank')
const result = await w.webContents.executeJavaScript('typeof require("q").when') const result = await w.webContents.executeJavaScript('typeof require("q").when')