fix: show active qBittorrent transfers
This commit is contained in:
@@ -75,8 +75,8 @@ describe("QbittorrentActiveTorrentsWidget", () => {
|
||||
);
|
||||
expect(screen.getByText("Movie.mkv")).toBeInTheDocument();
|
||||
expect(screen.getByText("Show.mkv")).toBeInTheDocument();
|
||||
expect(screen.getByText("downloading")).toBeInTheDocument();
|
||||
expect(screen.getByText("uploading")).toBeInTheDocument();
|
||||
expect(screen.getByText("Downloading")).toBeInTheDocument();
|
||||
expect(screen.getByText("Uploading")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows empty state when no active torrents", () => {
|
||||
@@ -87,7 +87,9 @@ describe("QbittorrentActiveTorrentsWidget", () => {
|
||||
refreshIntervalMs={15000}
|
||||
/>,
|
||||
);
|
||||
expect(screen.getByText(/No active torrents/i)).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(/No torrents are currently downloading or uploading/i),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows error alert on error", () => {
|
||||
|
||||
Reference in New Issue
Block a user