Merge pull request #11235 from electron/standard-10
infra: Upgrade to StandardJS 10
This commit is contained in:
commit
1c0ea0286e
27 changed files with 105 additions and 43 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue