Merge pull request #11235 from electron/standard-10

infra: Upgrade to StandardJS 10
This commit is contained in:
Cheng Zhao 2017-11-27 15:42:52 +09:00 committed by GitHub
commit 1c0ea0286e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 105 additions and 43 deletions

View file

@ -9,6 +9,9 @@ const {closeWindow} = require('./window-helpers')
const isCI = remote.getGlobal('isCi')
const nativeModulesEnabled = remote.getGlobal('nativeModulesEnabled')
/* Most of the APIs here don't use standard callbacks */
/* eslint-disable standard/no-callback-literal */
describe('<webview> tag', function () {
this.timeout(3 * 60 * 1000)
@ -1425,7 +1428,7 @@ describe('<webview> tag', function () {
})
webview.style.display = 'none'
webview.offsetHeight
webview.offsetHeight // eslint-disable-line
webview.style.display = 'block'
})
webview.src = `file://${fixtures}/pages/a.html`
@ -1444,7 +1447,7 @@ describe('<webview> tag', function () {
})
webview.style.display = 'none'
webview.offsetHeight
webview.offsetHeight // eslint-disable-line
webview.style.display = 'block'
})
webview.src = `file://${fixtures}/pages/a.html`