Fix naming and formatting
This commit is contained in:
parent
791486433d
commit
25015c4c63
3 changed files with 6 additions and 9 deletions
|
@ -1048,10 +1048,7 @@ describe('chromium feature', function () {
|
|||
it('should download a pdf when plugins are disabled', function (done) {
|
||||
createBrowserWindow(false)
|
||||
ipcRenderer.sendSync('set-download-option', false, false)
|
||||
ipcRenderer.once('download-done', function (event, state, url,
|
||||
mimeType, receivedBytes,
|
||||
totalBytes, disposition,
|
||||
filename) {
|
||||
ipcRenderer.once('download-done', function (event, state, url, mimeType, receivedBytes, totalBytes, disposition, filename) {
|
||||
assert.equal(state, 'completed')
|
||||
assert.equal(filename, 'cat.pdf')
|
||||
assert.equal(mimeType, 'application/pdf')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue