Fixed test
Export getTorrentsRatio function to be called in test
This commit is contained in:
@@ -237,7 +237,7 @@ const filterTorrentsByLabels = (
|
|||||||
return torrents.filter((torrent) => !labels.includes(torrent.label as string));
|
return torrents.filter((torrent) => !labels.includes(torrent.label as string));
|
||||||
};
|
};
|
||||||
|
|
||||||
const getTorrentsRatio = (
|
export const getTorrentsRatio = (
|
||||||
widget: ITorrent,
|
widget: ITorrent,
|
||||||
torrents: NormalizedTorrent[],
|
torrents: NormalizedTorrent[],
|
||||||
applyAllFilter:boolean
|
applyAllFilter:boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user