Skip to content

Commit

Permalink
MMT-3414: Fixed the test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
dmistry1 committed Jan 16, 2024
1 parent 8f94b0e commit 642862d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ describe('CustomSelectWidget', () => {
expect(screen.getByRole('option', { name: 'oneOf value 1' })).toBeInTheDocument()
expect(screen.getByRole('option', { name: 'oneOf value 2' })).toBeInTheDocument()

expect(CustomWidgetWrapper).toHaveBeenCalledTimes(2)
expect(CustomWidgetWrapper).toHaveBeenCalledTimes(3)
expect(CustomWidgetWrapper).toHaveBeenCalledWith(expect.objectContaining({
description: 'Test Description',
label: 'Test Field',
Expand Down

0 comments on commit 642862d

Please sign in to comment.