Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .nx/version-plans/version-plan-1777905924470.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
gamut-tests: major
gamut: minor
---

remove setupEnzyme and remove deprecated comment for RadialProgress
13 changes: 1 addition & 12 deletions packages/gamut-tests/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { GamutProvider, theme } from '@codecademy/gamut-styles';
import {
setupEnzyme as setupEnzymeBase,
setupRtl as setupRtlBase,
} from 'component-test-setup';
import { setupRtl as setupRtlBase } from 'component-test-setup';
import overArgs from 'lodash/overArgs';
import * as React from 'react';

Expand Down Expand Up @@ -38,14 +35,6 @@ function withMockGamutProvider<Props extends JSX.IntrinsicAttributes>(

// overArgs isn't fully typed yet for lack of curried generics, so we have to cast it...

/**
* @deprecated Enzyme is no longer being maintained. Use RTL instead.
*/
export const setupEnzyme = overArgs(
setupEnzymeBase,
withMockGamutProvider
) as typeof setupEnzymeBase;

export const setupRtl = overArgs(
setupRtlBase,
withMockGamutProvider
Expand Down
5 changes: 0 additions & 5 deletions packages/gamut/src/RadialProgress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ const RadialProgressWrapper = styled.figure<{ size: number | string }>(
})
);

/**
* @deprecated
* This component is deprecated and is no longer supported.
*/

export const RadialProgress: React.FC<RadialProgressProps> = ({
children,
className,
Expand Down
Loading