mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-16 03:32:10 -06:00
electron-205: fixed failing download manager tests
This commit is contained in:
parent
a6ef2d8a4c
commit
24bfa852e1
@ -16,8 +16,8 @@ describe('download manager', function() {
|
||||
});
|
||||
|
||||
it('should inject multiple download items during multiple downloads', function() {
|
||||
electron.ipcRenderer.send('downloadCompleted', { _id: '12345', fileName: 'test.png', total: 100 });
|
||||
electron.ipcRenderer.send('downloadCompleted', { _id: '67890', fileName: 'test.png', total: 200 });
|
||||
electron.ipcRenderer.send('downloadCompleted', { _id: '12345', fileName: 'test (1).png', total: 100 });
|
||||
electron.ipcRenderer.send('downloadCompleted', { _id: '67890', fileName: 'test (2).png', total: 200 });
|
||||
|
||||
let fileNames = document.getElementsByClassName('text-cutoff');
|
||||
let fNames = [];
|
||||
|
Loading…
Reference in New Issue
Block a user