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
2024-09-16 18:21:27 +02:00
committed by GitHub
parent cd4619845b
commit b9206d3628
5 changed files with 35 additions and 30 deletions

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();