chore: update to standard 12

This commit is contained in:
Samuel Attard 2018-09-14 02:10:51 +10:00
parent 9e85bdb02c
commit 558fff69e7
No known key found for this signature in database
GPG key ID: E89DDE5742D58C4E
198 changed files with 4455 additions and 2940 deletions

View file

@ -2,10 +2,10 @@ const chai = require('chai')
const dirtyChai = require('dirty-chai')
const http = require('http')
const path = require('path')
const {closeWindow} = require('./window-helpers')
const {BrowserWindow} = require('electron').remote
const { closeWindow } = require('./window-helpers')
const { BrowserWindow } = require('electron').remote
const {expect} = chai
const { expect } = chai
chai.use(dirtyChai)
describe('debugger module', () => {
@ -119,7 +119,7 @@ describe('debugger module', () => {
done()
}
const params = {'expression': '4+2'}
const params = { 'expression': '4+2' }
w.webContents.debugger.sendCommand('Runtime.evaluate', params, callback)
})
@ -139,7 +139,7 @@ describe('debugger module', () => {
}
w.webContents.openDevTools()
w.webContents.once('devtools-opened', () => {
const params = {'expression': '4+2'}
const params = { 'expression': '4+2' }
w.webContents.debugger.sendCommand('Runtime.evaluate', params, callback)
})
})