We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bcd2b commit 8692901Copy full SHA for 8692901
src/task.hook.ts
@@ -183,12 +183,15 @@ export const compareImagesTask = async (
183
export const doesFileExistTask = ({ path }: { path: string }) =>
184
fs.existsSync(path);
185
186
+export const processImgPath = ({ path }) => path;
187
+
188
/* c8 ignore start */
189
export const initTaskHook = (config: Cypress.PluginConfigOptions) => ({
190
[TASK.getScreenshotPathInfo]: getScreenshotPathInfoTask,
191
[TASK.cleanupImages]: cleanupImagesTask.bind(undefined, config),
192
[TASK.doesFileExist]: doesFileExistTask,
193
[TASK.approveImage]: approveImageTask,
194
[TASK.compareImages]: compareImagesTask,
195
+ [TASK.processImgPath]: processImgPath,
196
});
197
/* c8 ignore stop */
0 commit comments