File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ gamut-tests : major
3+ gamut : minor
4+ ---
5+
6+ remove setupEnzyme and remove deprecated comment for RadialProgress
Original file line number Diff line number Diff line change 11import { GamutProvider , theme } from '@codecademy/gamut-styles' ;
2- import {
3- setupEnzyme as setupEnzymeBase ,
4- setupRtl as setupRtlBase ,
5- } from 'component-test-setup' ;
2+ import { setupRtl as setupRtlBase } from 'component-test-setup' ;
63import overArgs from 'lodash/overArgs' ;
74import * as React from 'react' ;
85
@@ -38,14 +35,6 @@ function withMockGamutProvider<Props extends JSX.IntrinsicAttributes>(
3835
3936// overArgs isn't fully typed yet for lack of curried generics, so we have to cast it...
4037
41- /**
42- * @deprecated Enzyme is no longer being maintained. Use RTL instead.
43- */
44- export const setupEnzyme = overArgs (
45- setupEnzymeBase ,
46- withMockGamutProvider
47- ) as typeof setupEnzymeBase ;
48-
4938export const setupRtl = overArgs (
5039 setupRtlBase ,
5140 withMockGamutProvider
Original file line number Diff line number Diff line change @@ -33,11 +33,6 @@ const RadialProgressWrapper = styled.figure<{ size: number | string }>(
3333 } )
3434) ;
3535
36- /**
37- * @deprecated
38- * This component is deprecated and is no longer supported.
39- */
40-
4136export const RadialProgress : React . FC < RadialProgressProps > = ( {
4237 children,
4338 className,
You can’t perform that action at this time.
0 commit comments