From 1b1b132e8f9a47964d1550bae4e2c09fa934ef1f Mon Sep 17 00:00:00 2001 From: KishenKumarrrrr Date: Thu, 8 Feb 2024 15:48:42 +0800 Subject: [PATCH] chore: add mock for new endpoint --- frontend/src/test-utils/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/test-utils/api/index.ts b/frontend/src/test-utils/api/index.ts index e44390c11..61b77eda1 100644 --- a/frontend/src/test-utils/api/index.ts +++ b/frontend/src/test-utils/api/index.ts @@ -566,7 +566,7 @@ function mockCampaignUploadApis(state: State) { }) ) }), - rest.put(PRESIGNED_URL, (req, res, ctx) => { + rest.put('/attachments/csv-upload', (req, res, ctx) => { return res(ctx.status(200), ctx.set('ETag', 'test_etag_value')) }), rest.post(