Skip to content

Commit

Permalink
chore: fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KishenKumarrrrr committed Feb 8, 2024
1 parent 1b1b132 commit dc7781b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/test-utils/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,9 @@ function mockCampaignUploadApis(state: State) {
})
)
}),
rest.put(PRESIGNED_URL, (req, res, ctx) => {
return res(ctx.status(200), ctx.set('ETag', 'test_etag_value'))
}),
rest.put('/attachments/csv-upload', (req, res, ctx) => {
return res(ctx.status(200), ctx.set('ETag', 'test_etag_value'))
}),
Expand Down

0 comments on commit dc7781b

Please sign in to comment.