Fixed test

Export getTorrentsRatio function to be called in test
This commit is contained in:
Someone
2023-11-06 02:38:52 +01:00
committed by GitHub
parent 7a81742a19
commit 17871f62f5

View File

@@ -237,7 +237,7 @@ const filterTorrentsByLabels = (
return torrents.filter((torrent) => !labels.includes(torrent.label as string));
};
const getTorrentsRatio = (
export const getTorrentsRatio = (
widget: ITorrent,
torrents: NormalizedTorrent[],
applyAllFilter:boolean