Skip to content

Commit 5eea261

Browse files
committed
feat: Add upload via multipart
BREAKING CHANGE: submitTestResult method renamed
1 parent 6efcc7e commit 5eea261

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/visualRegressionTracker.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,9 @@ describe("VisualRegressionTracker", () => {
442442
const handleExceptionMock = jest.fn();
443443
vrt["handleException"] = handleExceptionMock;
444444
vrt["isStarted"] = jest.fn().mockReturnValueOnce(true);
445-
mockedDtoHelper.multipartDtoToFormData.mockReturnValueOnce(new FormData());
445+
mockedDtoHelper.multipartDtoToFormData.mockReturnValueOnce(
446+
new FormData()
447+
);
446448
mockedAxios.post.mockRejectedValueOnce(axiosError401);
447449
try {
448450
await vrt["submitTestRunMultipart"](testRunMultipart);

0 commit comments

Comments
 (0)