Fixed test
Export getTorrentsRatio function to be called in test
This commit is contained in:
1 parent
7a81742a19
commit
17871f62f5
1 file changed
+1
-1
@@ -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