Use path to non-existent file
This commit is contained in:
parent
cf93e3e713
commit
3108b8aacd
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ describe('session module', function () {
|
|||
assert.equal(state, 'interrupted')
|
||||
done()
|
||||
})
|
||||
w.webContents.downloadURL('file://' + __dirname)
|
||||
w.webContents.downloadURL('file://' + path.join(__dirname, 'does-not-exist.txt'))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue