From 3a784cc0604e0ea586224876bfa823510243d3ba Mon Sep 17 00:00:00 2001 From: Zhayvoronok Kateryna <1gayv425@gmail.com> Date: Thu, 28 Nov 2024 15:01:12 +0200 Subject: [PATCH] fixed curly braces for size in tests --- tests/unit/design-system/components/Switch/Switch.spec.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/design-system/components/Switch/Switch.spec.jsx b/tests/unit/design-system/components/Switch/Switch.spec.jsx index af5114eec..db8d25add 100644 --- a/tests/unit/design-system/components/Switch/Switch.spec.jsx +++ b/tests/unit/design-system/components/Switch/Switch.spec.jsx @@ -28,21 +28,21 @@ describe('AppSwitch Component', () => { }) it('applies the correct Large size style', () => { - render() + render() const switchEl = screen.getByRole('checkbox') expect(switchEl).toBeInTheDocument() }) it('applies the correct Medium size style', () => { - render() + render() const switchEl = screen.getByRole('checkbox') expect(switchEl).toBeInTheDocument() }) it('applies the correct Small size style', () => { - render() + render() const switchEl = screen.getByRole('checkbox') expect(switchEl).toBeInTheDocument()