Stop the video test stubbing the provider preset
The stub replaced the shared grab-provider-preset module for every file that ran after it, which left generate-image with no image_path and broke the DashScope image tests on CI. It was never needed: the real custom preset already has video_path /videos.
This commit is contained in:
@@ -29,10 +29,6 @@ mock.module("./provider-request", () => ({
|
||||
},
|
||||
}));
|
||||
|
||||
mock.module("../grab-provider-preset", () => ({
|
||||
default: () => ({ title: "TestProvider", video_path: "/videos" }),
|
||||
}));
|
||||
|
||||
const { default: generateVideo } = await import("./generate-video");
|
||||
|
||||
afterAll(() => mock.restore());
|
||||
|
||||
Reference in New Issue
Block a user