Skip to content

Commit

Permalink
chore(deps): updated argument
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi-markan committed Nov 25, 2024
1 parent 25b719d commit 00609c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/site-document/post-document-in-deal-folder.api-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ describe('postDocumentInDealFolder', () => {
describe('unhappy paths', () => {
describe('error cases when getting the file size', () => {
it('returns a 400 if the file is not found in DTFS', async () => {
mockDtfsStorageClientService
.mockSuccessfulGetShareFileClientCall(fileName, fileLocationPath)
.mockUnsuccessfulGetPropertiesCall(new RestError('', '', 404));
mockDtfsStorageClientService.mockSuccessfulGetShareFileClientCall(fileName, fileLocationPath).mockUnsuccessfulGetPropertiesCall(
new RestError('', {
statusCode: 404,
}),
);

const { status, body } = await makeRequest();

Expand Down

0 comments on commit 00609c1

Please sign in to comment.