Use path to non-existent file

This commit is contained in:
Kevin Sawicki 2016-08-25 14:40:15 -07:00
parent cf93e3e713
commit 3108b8aacd

View file

@ -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'))
})
})
})