Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErlingHauan committed Nov 4, 2024
1 parent 1aa904c commit a7f5690
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,11 @@ describe('EditManualOptionsWithEditor', () => {
name: textMock('ux_editor.modal_new_option'),
});

await user.click(addNewButton);
await user.click(addNewButton);

expect(mockHandleComponentChange).toHaveBeenCalledWith({
...mockComponent,
options: [
{ label: '', value: '' },
{ label: '', value: '' },
],
options: [{ label: '', value: '' }],
});
});

Expand Down

0 comments on commit a7f5690

Please sign in to comment.