Skip to content

Commit dcaa2d6

Browse files
CCM-13012: Fix CI
1 parent 4109886 commit dcaa2d6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

frontend/src/__tests__/components/forms/ChooseChannelTemplate/server-action.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ test('submit form - success updates config and redirects to choose templates', a
104104
);
105105
});
106106

107-
108-
109107
test('submit form - success updates config and redirects to choose templates for letter template with supplier references', async () => {
110108
const mockRedirect = jest.mocked(redirect);
111109
const mockUpdateRoutingConfig = jest.mocked(updateRoutingConfig);
@@ -124,12 +122,14 @@ test('submit form - success updates config and redirects to choose templates for
124122
],
125123
},
126124
pageHeading: 'Choose an email template',
127-
templateList: [{
128-
...LETTER_TEMPLATE,
129-
supplierReferences: {
130-
MBA: 'mba-supplier-reference'
131-
}
132-
}],
125+
templateList: [
126+
{
127+
...LETTER_TEMPLATE,
128+
supplierReferences: {
129+
MBA: 'mba-supplier-reference',
130+
},
131+
},
132+
],
133133
cascadeIndex: 0,
134134
},
135135
getMockFormData({
@@ -144,7 +144,7 @@ test('submit form - success updates config and redirects to choose templates for
144144
channel: 'LETTER',
145145
channelType: 'primary',
146146
defaultTemplateId: LETTER_TEMPLATE.id,
147-
supplierReferences: { MBA: 'mba-supplier-reference' }
147+
supplierReferences: { MBA: 'mba-supplier-reference' },
148148
},
149149
],
150150
cascadeGroupOverrides: [],

0 commit comments

Comments
 (0)