From 77935d20b9626d8251caf51b1d0f9f6c2507dc6a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 11 Oct 2023 23:24:42 +0000 Subject: [PATCH] PR-722301: Adding Button Test. --- .../Button/__tests__/Button.test.cy.tsx | 11 +++++++++++ src/components/Button/__tests__/Button.test.tsx | 17 +++++++++++++++++ src/components/Item/__tests__/Item.test.cy.tsx | 2 +- src/components/Item/__tests__/Item.test.tsx | 2 +- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 src/components/Button/__tests__/Button.test.cy.tsx create mode 100644 src/components/Button/__tests__/Button.test.tsx diff --git a/src/components/Button/__tests__/Button.test.cy.tsx b/src/components/Button/__tests__/Button.test.cy.tsx new file mode 100644 index 0000000..990ccbc --- /dev/null +++ b/src/components/Button/__tests__/Button.test.cy.tsx @@ -0,0 +1,11 @@ +import React from 'react'; +import { Button } from '@components'; + +describe('Testing Button Component', () => { + beforeEach(() => { + cy.mount(