From 92b51ebee83608dab9d7aef0e7b8a9dc7eeccbcf Mon Sep 17 00:00:00 2001 From: "pinar.kizilarslan" Date: Wed, 25 Dec 2024 14:26:55 +0300 Subject: [PATCH] fix(input) fix input test --- src/components/Input/InputLabel.test.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/components/Input/InputLabel.test.tsx b/src/components/Input/InputLabel.test.tsx index fa2e5e8..d92bd58 100644 --- a/src/components/Input/InputLabel.test.tsx +++ b/src/components/Input/InputLabel.test.tsx @@ -6,8 +6,6 @@ import { AnimatedViewPropsType, AnimatedTextPropsType } from './types'; describe('Input Label', () => { let label: string | null; let labelFixed: boolean; - let required: boolean; - let requiredText: boolean; let errorState: boolean; let successState: boolean; let animatedViewProps: AnimatedViewPropsType; @@ -17,8 +15,6 @@ describe('Input Label', () => { beforeEach(() => { label = 'Label'; labelFixed = false; - required = false; - requiredText = false; errorState = false; successState = false; animatedViewProps = {}; @@ -35,7 +31,6 @@ describe('Input Label', () => { { { }); test('should render outlined label with optional correctly', () => { - // given - required = false; - // when const { toJSON } = render( { { test('should render fixed label with optional correctly', () => { // given - required = false; labelFixed = true; // when @@ -124,8 +109,6 @@ describe('Input Label', () => {