mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use path to non-existent file
This commit is contained in:
@@ -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'))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user