Migrated CreateShortUrl test to react testing library

This commit is contained in:
Alejandro Celaya
2022-06-08 18:28:16 +02:00
parent e538f2a3bb
commit 105254d053
2 changed files with 17 additions and 26 deletions

View File

@@ -55,7 +55,6 @@ export const CreateShortUrl = (
mode={basicMode ? 'create-basic' : 'create'}
onSave={async (data: ShortUrlData) => {
resetCreateShortUrl();
return createShortUrl(data);
}}
/>