From 7ac6ccb0940d94957be4652a157feb994cc229ad Mon Sep 17 00:00:00 2001 From: Nick Earwood Date: Fri, 18 Oct 2024 16:35:28 -0500 Subject: [PATCH] Add to prop to Button --- src/components/Button/Button.test.jsx | 2 +- src/components/Button/Button.tsx | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/components/Button/Button.test.jsx b/src/components/Button/Button.test.jsx index 26dc9280d..f072c1830 100644 --- a/src/components/Button/Button.test.jsx +++ b/src/components/Button/Button.test.jsx @@ -427,7 +427,7 @@ describe('Button', () => { expect(buttonElement.getAttribute('type')).toBe(null); }); - test('it renders a target attribute if one is passed, the element is an anchor, and there is a href', () => { + test('it renders a target attribute if one is passed, the element is an anchor, and there is an href', () => { render(