Skip to content

Commit c6089d5

Browse files
committed
feat: remove unneeded submission service tcs
1 parent eba7fe4 commit c6089d5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/app/modules/submission/__tests__/submission.service.spec.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -835,14 +835,6 @@ describe('submission.service', () => {
835835
expect(result._unsafeUnwrap()).toBe(true)
836836
})
837837

838-
it('should generate pdfAttachment when form summary for respondent is enabled', async () => {})
839-
840-
it('should not generate pdfAttachment for payment form', () => {})
841-
842-
it('should generate pdfAttachment for admin email notification', () => {})
843-
844-
it('should return pdf generation error when pdf generation fails', () => {})
845-
846838
it('should return SendEmailConfirmationError when mail service errors', async () => {
847839
const mockForm = {
848840
_id: MOCK_FORM_ID,
@@ -2858,7 +2850,11 @@ describe('submission.service', () => {
28582850

28592851
// Act
28602852
// empty string for version id to simulate failure
2861-
const actualResult = await downloadCleanFile('invalid-key', '', 'mock-bucket-name')
2853+
const actualResult = await downloadCleanFile(
2854+
'invalid-key',
2855+
'',
2856+
'mock-bucket-name',
2857+
)
28622858

28632859
// Assert
28642860
expect(awsSpy).not.toHaveBeenCalled()

0 commit comments

Comments
 (0)