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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user