refactor: use loadFile when appropriate in tests (#14422)
This commit is contained in:
parent
e8782f2c2d
commit
c63014c256
13 changed files with 115 additions and 137 deletions
|
@ -221,7 +221,7 @@ describe('session module', () => {
|
|||
assert.equal(count, 0)
|
||||
done()
|
||||
})
|
||||
w.loadURL('file://' + path.join(fixtures, 'api', 'localstorage.html'))
|
||||
w.loadFile(path.join(fixtures, 'api', 'localstorage.html'))
|
||||
w.webContents.on('did-finish-load', () => {
|
||||
const options = {
|
||||
origin: 'file://',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue