Limit the use of the same shortcut name and url when adding a shortcut with test cases
Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
This commit is contained in:
@@ -53,9 +53,6 @@ describe('ShortcutForm', () => {
|
||||
expect(
|
||||
screen.getByText('Must be at least 2 characters'),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText('A shortcut with this title already exists'),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user