From 17871f62f56b5b253710f5888c86ac53bbfd4ce0 Mon Sep 17 00:00:00 2001 From: Someone <10882916+InterN0te@users.noreply.github.com> Date: Mon, 6 Nov 2023 02:38:52 +0100 Subject: [PATCH] Fixed test Export getTorrentsRatio function to be called in test --- src/widgets/torrent/TorrentTile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/torrent/TorrentTile.tsx b/src/widgets/torrent/TorrentTile.tsx index 02b7d1441..93c7ad673 100644 --- a/src/widgets/torrent/TorrentTile.tsx +++ b/src/widgets/torrent/TorrentTile.tsx @@ -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