Skip to content

Commit 7382bc8

Browse files
committed
fmt
1 parent 1e7ec5f commit 7382bc8

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

lambdas/backend-api/src/__tests__/templates/api/set-letter-upload-virus-scan-status.test.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ it('sets the virus scan status on pdf uploads identified by file metadata', asyn
3939
expect(
4040
mocks.templateRepository.setLetterFileVirusScanStatusForUpload
4141
).toHaveBeenCalledWith(
42-
{ templateId: 'template-id', clientId: 'template-owner', clientOwned: true },
42+
{
43+
templateId: 'template-id',
44+
clientId: 'template-owner',
45+
clientOwned: true,
46+
},
4347
'pdf-template',
4448
'template-version',
4549
'PASSED'
@@ -70,7 +74,11 @@ it('sets the virus scan status on csv files identified by file metadata', async
7074
expect(
7175
mocks.templateRepository.setLetterFileVirusScanStatusForUpload
7276
).toHaveBeenCalledWith(
73-
{ templateId: 'template-id', clientId: 'template-owner', clientOwned: true },
77+
{
78+
templateId: 'template-id',
79+
clientId: 'template-owner',
80+
clientOwned: true,
81+
},
7482
'test-data',
7583
'template-version',
7684
'PASSED'
@@ -104,7 +112,11 @@ it.each($GuardDutyMalwareScanStatusFailed.options)(
104112
expect(
105113
mocks.templateRepository.setLetterFileVirusScanStatusForUpload
106114
).toHaveBeenCalledWith(
107-
{ templateId: 'template-id', clientId: 'template-owner', clientOwned: true },
115+
{
116+
templateId: 'template-id',
117+
clientId: 'template-owner',
118+
clientOwned: true,
119+
},
108120
'pdf-template',
109121
'template-version',
110122
'FAILED'

0 commit comments

Comments
 (0)