This commit is contained in:
deepak1556 2017-01-25 14:20:33 +05:30
parent 593a3de850
commit d8a16a8ffb

View file

@ -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 () {