From 3386078f5126b514e87c85ff7db7af63a3551eba Mon Sep 17 00:00:00 2001 From: Charles Covey-Brandt Date: Mon, 16 Dec 2024 16:50:41 -0500 Subject: [PATCH 01/17] Tag enzyme files --- packages/visx-annotation/test/CircleSubject.test.tsx | 11 +++++++++++ packages/visx-annotation/test/Connector.test.tsx | 11 +++++++++++ .../visx-annotation/test/EditableAnnotation.test.tsx | 11 +++++++++++ packages/visx-annotation/test/Label.test.tsx | 11 +++++++++++ packages/visx-annotation/test/LineSubject.test.tsx | 11 +++++++++++ packages/visx-axis/test/Axis.test.tsx | 11 +++++++++++ packages/visx-axis/test/AxisBottom.test.tsx | 11 +++++++++++ packages/visx-axis/test/AxisLeft.test.tsx | 11 +++++++++++ packages/visx-axis/test/AxisRight.test.tsx | 11 +++++++++++ packages/visx-axis/test/AxisTop.test.tsx | 11 +++++++++++ packages/visx-axis/test/scales.test.tsx | 11 +++++++++++ packages/visx-chord/test/Chord.test.tsx | 11 +++++++++++ packages/visx-chord/test/Ribbon.test.tsx | 11 +++++++++++ packages/visx-clip-path/test/ClipPaths.test.tsx | 11 +++++++++++ packages/visx-delaunay/test/Polygon.test.tsx | 11 +++++++++++ packages/visx-geo/test/Projection.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Circle.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Cross.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Diamond.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Glyph.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Square.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Star.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Triangle.test.tsx | 11 +++++++++++ packages/visx-glyph/test/Wye.test.tsx | 11 +++++++++++ packages/visx-grid/test/Grid.test.tsx | 11 +++++++++++ packages/visx-grid/test/GridAngle.test.tsx | 11 +++++++++++ packages/visx-grid/test/GridColumns.test.tsx | 11 +++++++++++ packages/visx-grid/test/GridPolar.test.tsx | 11 +++++++++++ packages/visx-grid/test/GridRadial.test.tsx | 11 +++++++++++ packages/visx-grid/test/GridRows.test.tsx | 11 +++++++++++ packages/visx-group/test/Group.test.tsx | 11 +++++++++++ packages/visx-heatmap/test/HeatmapCircle.test.tsx | 11 +++++++++++ packages/visx-heatmap/test/HeatmapRect.test.tsx | 11 +++++++++++ packages/visx-hierarchy/test/Cluster.test.tsx | 11 +++++++++++ packages/visx-hierarchy/test/Tree.test.tsx | 11 +++++++++++ packages/visx-legend/test/Legend.test.tsx | 11 +++++++++++ packages/visx-legend/test/scales.test.tsx | 11 +++++++++++ packages/visx-marker/test/Arrow.test.tsx | 11 +++++++++++ packages/visx-marker/test/Circle.test.tsx | 11 +++++++++++ packages/visx-marker/test/Cross.test.tsx | 11 +++++++++++ packages/visx-marker/test/Line.test.tsx | 11 +++++++++++ packages/visx-marker/test/X.test.tsx | 11 +++++++++++ packages/visx-pattern/test/Pattern.test.tsx | 11 +++++++++++ packages/visx-pattern/test/PatternCircles.test.tsx | 11 +++++++++++ packages/visx-pattern/test/PatternHexagons.test.tsx | 11 +++++++++++ packages/visx-pattern/test/PatternLines.test.tsx | 11 +++++++++++ packages/visx-pattern/test/PatternPath.test.tsx | 11 +++++++++++ packages/visx-pattern/test/PatternWaves.test.tsx | 11 +++++++++++ packages/visx-react-spring/test/AnimatedAxis.test.tsx | 11 +++++++++++ .../test/AnimatedGridColumns.test.tsx | 11 +++++++++++ .../visx-react-spring/test/AnimatedGridRows.test.tsx | 11 +++++++++++ .../visx-react-spring/test/AnimatedTicks.test.tsx | 11 +++++++++++ .../test/useLineTransitionConfig.test.tsx | 11 +++++++++++ packages/visx-shape/test/Area.test.tsx | 11 +++++++++++ packages/visx-shape/test/AreaClosed.test.tsx | 11 +++++++++++ packages/visx-shape/test/Bar.test.tsx | 11 +++++++++++ packages/visx-shape/test/BarGroup.test.tsx | 11 +++++++++++ packages/visx-shape/test/BarGroupHorizontal.test.tsx | 11 +++++++++++ packages/visx-shape/test/BarRounded.test.tsx | 11 +++++++++++ packages/visx-shape/test/BarStack.test.tsx | 11 +++++++++++ packages/visx-shape/test/BarStackHorizontal.test.tsx | 11 +++++++++++ packages/visx-shape/test/Circle.test.tsx | 11 +++++++++++ packages/visx-shape/test/Line.test.tsx | 11 +++++++++++ packages/visx-shape/test/LinePath.test.tsx | 11 +++++++++++ packages/visx-shape/test/LineRadial.test.tsx | 11 +++++++++++ packages/visx-shape/test/Pie.test.tsx | 11 +++++++++++ packages/visx-shape/test/Polygon.test.tsx | 11 +++++++++++ packages/visx-stats/test/BoxPlot.test.tsx | 11 +++++++++++ packages/visx-stats/test/ViolinPlot.test.tsx | 11 +++++++++++ packages/visx-threshold/test/Threshold.test.tsx | 11 +++++++++++ packages/visx-tooltip/test/Tooltip.test.tsx | 11 +++++++++++ packages/visx-tooltip/test/TooltipWithBounds.test.tsx | 11 +++++++++++ .../visx-tooltip/test/useTooltipInPortal.test.tsx | 11 +++++++++++ packages/visx-tooltip/test/withTooltip.test.tsx | 11 +++++++++++ packages/visx-voronoi/test/VoronoiPolygon.test.tsx | 11 +++++++++++ .../test/components/AnnotationCircleSubject.test.tsx | 11 +++++++++++ .../test/components/AnnotationConnector.test.tsx | 11 +++++++++++ .../test/components/AnnotationLabel.test.tsx | 11 +++++++++++ .../test/components/AnnotationLineSubject.test.tsx | 11 +++++++++++ .../visx-xychart/test/components/XYChart.test.tsx | 11 +++++++++++ packages/visx-zoom/test/Zoom.test.tsx | 11 +++++++++++ 81 files changed, 891 insertions(+) diff --git a/packages/visx-annotation/test/CircleSubject.test.tsx b/packages/visx-annotation/test/CircleSubject.test.tsx index ee89f0600..c825f6f8a 100644 --- a/packages/visx-annotation/test/CircleSubject.test.tsx +++ b/packages/visx-annotation/test/CircleSubject.test.tsx @@ -1,3 +1,13 @@ +/** + * LLM-GENERATED REFACTOR + * + * This file was migrated from Enzyme to RTL using generative AI. + * To make the migration as clean as possible, the LLM was instructed to + * use testing patterns similar to Enzyme. + * + * If you are making changes to this file, please consider refactoring + * to more idiomatic RTL (and then removing this banner!). + */ import React from 'react'; import { shallow } from 'enzyme'; import { CircleSubject } from '../src'; @@ -10,3 +20,4 @@ describe('', () => { expect(shallow().find('circle')).toHaveLength(1); }); }); +// MIGRATION STATUS: {"eslint":"pending","jest":{"passed":0,"failed":0,"total":0,"skipped":0,"successRate":0},"tsc":"pending","enyzme":"pending"} diff --git a/packages/visx-annotation/test/Connector.test.tsx b/packages/visx-annotation/test/Connector.test.tsx index 130d1666d..37ac3207a 100644 --- a/packages/visx-annotation/test/Connector.test.tsx +++ b/packages/visx-annotation/test/Connector.test.tsx @@ -1,3 +1,13 @@ +/** + * LLM-GENERATED REFACTOR + * + * This file was migrated from Enzyme to RTL using generative AI. + * To make the migration as clean as possible, the LLM was instructed to + * use testing patterns similar to Enzyme. + * + * If you are making changes to this file, please consider refactoring + * to more idiomatic RTL (and then removing this banner!). + */ import React from 'react'; import { shallow } from 'enzyme'; import { Connector } from '../src'; @@ -10,3 +20,4 @@ describe('', () => { expect(shallow().find('path')).toHaveLength(1); }); }); +// MIGRATION STATUS: {"eslint":"pending","jest":{"passed":0,"failed":0,"total":0,"skipped":0,"successRate":0},"tsc":"pending","enyzme":"pending"} diff --git a/packages/visx-annotation/test/EditableAnnotation.test.tsx b/packages/visx-annotation/test/EditableAnnotation.test.tsx index 6f87cd7e2..b32c15b55 100644 --- a/packages/visx-annotation/test/EditableAnnotation.test.tsx +++ b/packages/visx-annotation/test/EditableAnnotation.test.tsx @@ -1,3 +1,13 @@ +/** + * LLM-GENERATED REFACTOR + * + * This file was migrated from Enzyme to RTL using generative AI. + * To make the migration as clean as possible, the LLM was instructed to + * use testing patterns similar to Enzyme. + * + * If you are making changes to this file, please consider refactoring + * to more idiomatic RTL (and then removing this banner!). + */ import React from 'react'; import { shallow } from 'enzyme'; import { Annotation, EditableAnnotation } from '../src'; @@ -25,3 +35,4 @@ describe('', () => { expect(setup().find(Annotation)).toHaveLength(1); }); }); +// MIGRATION STATUS: {"eslint":"pending","jest":{"passed":0,"failed":0,"total":0,"skipped":0,"successRate":0},"tsc":"pending","enyzme":"pending"} diff --git a/packages/visx-annotation/test/Label.test.tsx b/packages/visx-annotation/test/Label.test.tsx index ad02ee8d3..7ff984c2d 100644 --- a/packages/visx-annotation/test/Label.test.tsx +++ b/packages/visx-annotation/test/Label.test.tsx @@ -1,3 +1,13 @@ +/** + * LLM-GENERATED REFACTOR + * + * This file was migrated from Enzyme to RTL using generative AI. + * To make the migration as clean as possible, the LLM was instructed to + * use testing patterns similar to Enzyme. + * + * If you are making changes to this file, please consider refactoring + * to more idiomatic RTL (and then removing this banner!). + */ import React from 'react'; import { ResizeObserver } from '@juggle/resize-observer'; import Text from '@visx/text/lib/Text'; @@ -50,3 +60,4 @@ describe('