Skip to content

Commit

Permalink
fix PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vitPinchuk committed Feb 8, 2024
1 parent 0324b72 commit 9f4ee4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/DatasetEditor/DatasetEditor.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,10 @@ describe('Dataset Editor', () => {
})
);

const newItemNameInput = selectors.newItemName();

/**
* Simulate select option doesn't exist
*/

fireEvent.change(newItemNameInput, { target: { value: 'A:Time' } });

fireEvent.change(selectors.newItemName(), { target: { value: 'A:Time' } });
expect(selectors.buttonAddNew()).toBeDisabled();
});

Expand Down

0 comments on commit 9f4ee4b

Please sign in to comment.