fix test typings

This commit is contained in:
dswbx
2025-03-11 09:38:14 +01:00
parent eb451a8e1a
commit 0dd29c3b07
4 changed files with 19 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ describe("MediaApi", () => {
host,
basepath,
});
expect(api.getFileUploadUrl({ path: "path" })).toBe(`${host}${basepath}/upload/path`);
expect(api.getFileUploadUrl({ path: "path" } as any)).toBe(`${host}${basepath}/upload/path`);
});
it("should have correct upload headers", () => {