From d1647a0916b568bb580ad5a4e97dcf8db91fcad5 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Fri, 27 Feb 2026 11:58:21 -0500 Subject: [PATCH 1/2] Fix malformed ids on tests. --- .../comet-extras/src/components/tabs/tabs.test.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/comet-extras/src/components/tabs/tabs.test.tsx b/packages/comet-extras/src/components/tabs/tabs.test.tsx index ae9aacf6..7c62ff83 100644 --- a/packages/comet-extras/src/components/tabs/tabs.test.tsx +++ b/packages/comet-extras/src/components/tabs/tabs.test.tsx @@ -5,7 +5,7 @@ import Tabs, { TabPanel } from './tabs'; describe('Tabs', () => { test('should render a tabs component successfully', () => { const { baseElement } = render( - + UNIT TEST 1 @@ -20,7 +20,7 @@ describe('Tabs', () => { test('should have correct class for active tab', () => { const { baseElement } = render( - + UNIT TEST 1 @@ -36,7 +36,7 @@ describe('Tabs', () => { test('should have correct class for inactive tab', () => { const { baseElement } = render( - + UNIT TEST 1 @@ -52,7 +52,7 @@ describe('Tabs', () => { test('should contain correct class name when provided as a prop', () => { const { baseElement } = render( - + UNIT TEST 1 @@ -68,7 +68,7 @@ describe('Tabs', () => { test('should apply correct class names when user clicks on a tab', () => { render( - + UNIT TEST 1 From ae8a46f795c3ad3eff301516ef6ef4c3cbfb2d68 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Fri, 27 Feb 2026 12:00:49 -0500 Subject: [PATCH 2/2] Remove redundant condition. --- .../comet-data-viz/src/components/area-graph/area-graph.tsx | 2 +- .../comet-data-viz/src/components/line-graph/line-graph.tsx | 2 +- .../comet-data-viz/src/components/stack-graph/stack-graph.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/comet-data-viz/src/components/area-graph/area-graph.tsx b/packages/comet-data-viz/src/components/area-graph/area-graph.tsx index 51e9c2e7..df57d6e1 100644 --- a/packages/comet-data-viz/src/components/area-graph/area-graph.tsx +++ b/packages/comet-data-viz/src/components/area-graph/area-graph.tsx @@ -45,7 +45,7 @@ const AreaGraph: React.FC = (props: AreaGraphProps) => { }, }} data={d} - interpolation={props.smooth && props.smooth ? 'natural' : undefined} + interpolation={props.smooth ? 'natural' : undefined} animate={{ duration: 2000, onLoad: { duration: 1000 }, diff --git a/packages/comet-data-viz/src/components/line-graph/line-graph.tsx b/packages/comet-data-viz/src/components/line-graph/line-graph.tsx index 02055d32..5ddf67ba 100644 --- a/packages/comet-data-viz/src/components/line-graph/line-graph.tsx +++ b/packages/comet-data-viz/src/components/line-graph/line-graph.tsx @@ -49,7 +49,7 @@ const LineGraph: React.FC = (props: LineGraphProps) => { duration: 2000, onLoad: { duration: 1000 }, }} - interpolation={props.smooth && props.smooth ? 'natural' : undefined} + interpolation={props.smooth ? 'natural' : undefined} /> ))} diff --git a/packages/comet-data-viz/src/components/stack-graph/stack-graph.tsx b/packages/comet-data-viz/src/components/stack-graph/stack-graph.tsx index 14ee9731..0104ee37 100644 --- a/packages/comet-data-viz/src/components/stack-graph/stack-graph.tsx +++ b/packages/comet-data-viz/src/components/stack-graph/stack-graph.tsx @@ -46,7 +46,7 @@ const StackGraph: React.FC = (props: StackGraphProps) => { }, }} data={d} - interpolation={props.smooth && props.smooth ? 'natural' : undefined} + interpolation={props.smooth ? 'natural' : undefined} animate={{ duration: 2000, onLoad: { duration: 1000 },