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:
AmbrishRamachandiran
2023-07-30 20:38:25 +05:30
parent fab2acc5c3
commit 3fec69363b
@@ -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();
});
});