mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
checking media controller test
This commit is contained in:
@@ -50,6 +50,8 @@ describe("MediaController", () => {
|
||||
|
||||
const file = Bun.file(path);
|
||||
const name = makeName("png");
|
||||
console.log("test");
|
||||
console.log("files:assets", await readdir(assetsPath, { recursive: true }));
|
||||
const res = await app.server.request("/api/media/upload/" + name, {
|
||||
method: "POST",
|
||||
body: file,
|
||||
|
||||
Reference in New Issue
Block a user