refactor: ginify DownloadItem (#22924)
This commit is contained in:
parent
6159066c26
commit
0a78ab4b98
9 changed files with 153 additions and 101 deletions
|
@ -311,7 +311,7 @@ describe('session module', () => {
|
|||
const { item, itemUrl, itemFilename } = await downloadPrevented;
|
||||
expect(itemUrl).to.equal(url);
|
||||
expect(itemFilename).to.equal('mockFile.txt');
|
||||
expect(() => item.getURL()).to.throw('Object has been destroyed');
|
||||
expect(() => item.getURL()).to.throw('DownloadItem used after being destroyed');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue