Skip to content

Commit 4880fe5

Browse files
committed
fix: missing fieldtype
1 parent 46c517d commit 4880fe5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ const MOCK_AUTOREPLY_DATA = [
9191
{
9292
question: 'Email',
9393
answerTemplate: ['[email protected]'],
94+
fieldType: BasicField.Email,
9495
},
9596
]
9697
const AUTOREPLY_OPTIONS_1: AutoReplyOptions = {
@@ -2857,7 +2858,7 @@ describe('submission.service', () => {
28572858

28582859
// Act
28592860
// empty string for version id to simulate failure
2860-
const actualResult = await downloadCleanFile('invalid-key', '')
2861+
const actualResult = await downloadCleanFile('invalid-key', '', 'mock-bucket-name')
28612862

28622863
// Assert
28632864
expect(awsSpy).not.toHaveBeenCalled()

0 commit comments

Comments
 (0)