feat(qbittorrent): show share ratio for active torrents
This commit is contained in:
@@ -54,6 +54,7 @@ describe("QbittorrentActiveTorrentsWidget", () => {
|
||||
state: "downloading",
|
||||
size: 1000,
|
||||
progress: 0.5,
|
||||
ratio: 1.25,
|
||||
dl_speed: 500000,
|
||||
up_speed: 1000,
|
||||
},
|
||||
@@ -77,6 +78,7 @@ describe("QbittorrentActiveTorrentsWidget", () => {
|
||||
expect(screen.getByText("Show.mkv")).toBeInTheDocument();
|
||||
expect(screen.getByText("Downloading")).toBeInTheDocument();
|
||||
expect(screen.getByText("Uploading")).toBeInTheDocument();
|
||||
expect(screen.getByText(/Ratio 1\.25/)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows empty state when no active torrents", () => {
|
||||
|
||||
Reference in New Issue
Block a user