test: add integration tests for content-aware resize endpoint

This commit is contained in:
Siddharth Kumar Sah
2026-04-07 23:36:51 +08:00
parent aace4caf0c
commit fc7d355d08
2 changed files with 161 additions and 1 deletions
+9 -1
View File
@@ -35,12 +35,20 @@ describe("Lite variant", () => {
"blur-faces",
"erase-object",
"ocr",
"content-aware-resize",
]);
});
});
describe("AI tool routes return 501", () => {
const aiTools = ["remove-background", "upscale", "blur-faces", "erase-object", "ocr"];
const aiTools = [
"remove-background",
"upscale",
"blur-faces",
"erase-object",
"ocr",
"content-aware-resize",
];
for (const toolId of aiTools) {
it(`POST /api/v1/tools/${toolId} returns 501`, async () => {