linting is important

This commit is contained in:
Shelley Vohr 2017-11-01 10:56:53 -04:00
parent d2e1705c80
commit 28c009fcc0
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -1365,7 +1365,7 @@ describe('BrowserWindow module', () => {
assert.equal(content, 'Hello')
done()
})
w.loadURL( `file://${path.join(fixtures, 'api', 'native-window-open-iframe.html')}`)
w.loadURL(`file://${path.join(fixtures, 'api', 'native-window-open-iframe.html')}`)
})
it('loads native addons correctly after reload', (done) => {
if (!nativeModulesEnabled) return done()
@ -1676,7 +1676,7 @@ describe('BrowserWindow module', () => {
})
describe('new-window event', () => {
if (isCI && process.platform === 'darwin') return
if (isCI && process.platform === 'darwin') return
it('emits when window.open is called', (done) => {
w.webContents.once('new-window', (e, url, frameName, disposition, options, additionalFeatures) => {
@ -1733,7 +1733,7 @@ describe('BrowserWindow module', () => {
})
describe('minimize event', () => {
if (isCI) return
if (isCI) return
it('emits when window is minimized', (done) => {
w.once('minimize', () => { done() })