fix spec
This commit is contained in:
parent
593a3de850
commit
d8a16a8ffb
1 changed files with 2 additions and 2 deletions
|
@ -225,8 +225,8 @@ describe('BrowserWindow module', function () {
|
|||
assert.equal(isMainFrame, true)
|
||||
done()
|
||||
})
|
||||
let data = new Buffer(2 * 1024 * 1024).toString('base64')
|
||||
w.loadURL('data:image/png;base64,' + data)
|
||||
const data = new Buffer(2 * 1024 * 1024).toString('base64')
|
||||
w.loadURL(`data:image/png;base64,${data}`)
|
||||
})
|
||||
|
||||
describe('POST navigations', function () {
|
||||
|
|
Loading…
Reference in a new issue