feat: add high-level capsule feature modules
This commit is contained in:
@ -323,6 +323,9 @@ describe("WrennClient", () => {
|
||||
url: "https://api.example.com/v1/capsules/cap_1/files/write",
|
||||
});
|
||||
expect(calls.at(-1)?.init.body).toBeInstanceOf(FormData);
|
||||
expect((calls.at(-1)?.init.body as FormData).get("file")).toBeInstanceOf(
|
||||
Blob,
|
||||
);
|
||||
await client.files.download("cap_1", {} as never);
|
||||
expectLastCall(calls, {
|
||||
body: {},
|
||||
|
||||
Reference in New Issue
Block a user