refactor: Remove typed-rpc dependency and used fetch instead (#1108)

* feat: Remove typed-rpc dependency and used fetch instead

* fix: tests

* fix: typing
This commit is contained in:
SeDemal authored and GitHub committed 2024-09-16 18:21:27 +02:00
1 parent cd4619845b
commit b9206d3628
5 files changed
+35 -30

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ describe("Nzbget integration", () => {
// Act
const getAsync = async () => await nzbGetIntegration.getClientJobsAndStatusAsync();
const actAsync = async () => await nzbGetIntegration.deleteItemAsync(item, false);
const actAsync = async () => await nzbGetIntegration.deleteItemAsync(item, true);
// Assert
await expect(actAsync()).resolves.not.toThrow();