Skip to content

Commit

Permalink
fix: update failing tc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin9foong committed Dec 30, 2024
1 parent 8edf2cc commit a726584
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('admin-form.assistance.service', () => {
beforeEach(() => {
const mockedCreateFormFields =
AdminFormService.createFormFields as jest.Mock
mockedCreateFormFields.mockReturnValue(okAsync({} as FormFieldSchema[]))
mockedCreateFormFields.mockReturnValue(okAsync([] as FormFieldSchema[]))
})

it('should successfully invoke createNewFields with correct # of fields when model response is valid', async () => {
Expand Down

0 comments on commit a726584

Please sign in to comment.