From 2e3ec677801b92fda7fcd7538ae35195cf19e49e Mon Sep 17 00:00:00 2001 From: Elena Bitire Date: Wed, 13 Mar 2024 16:59:26 +0200 Subject: [PATCH] refactor: refactor tests --- src/ui/button.test.tsx | 18 +++++++--------- src/ui/checkbox.test.tsx | 44 +++++++++++++++++++--------------------- src/ui/input.test.tsx | 14 ++++++------- src/ui/select.test.tsx | 4 ++-- 4 files changed, 37 insertions(+), 43 deletions(-) diff --git a/src/ui/button.test.tsx b/src/ui/button.test.tsx index 9ca5d43e..875033cd 100644 --- a/src/ui/button.test.tsx +++ b/src/ui/button.test.tsx @@ -9,7 +9,7 @@ afterEach(cleanup); describe('Button component ', () => { it('should render correctly ', () => { - render(