From 1a200650537140e3ac9809f3ffe595d99a036a6f Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 6 Jul 2022 18:30:33 +0200 Subject: [PATCH] Migrated CreateShortUrlResult test to react testing library --- .../helpers/CreateShortUrlResult.tsx | 2 +- .../helpers/CreateShortUrlResult.test.tsx | 45 +++++++------------ 2 files changed, 16 insertions(+), 31 deletions(-) diff --git a/src/short-urls/helpers/CreateShortUrlResult.tsx b/src/short-urls/helpers/CreateShortUrlResult.tsx index 73d60ba6..218755b3 100644 --- a/src/short-urls/helpers/CreateShortUrlResult.tsx +++ b/src/short-urls/helpers/CreateShortUrlResult.tsx @@ -43,7 +43,7 @@ export const CreateShortUrlResult = (useTimeoutToggle: TimeoutToggle) => ( return ( {canBeClosed && } - Great! The short URL is {shortUrl} + Great! The short URL is {shortUrl}