@codecademy/gamut-tests 5.3.5-alpha.fbe641.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,7 @@
1
- import { setupEnzyme as setupEnzymeBase, setupRtl as setupRtlBase } from 'component-test-setup';
1
+ import { setupRtl as setupRtlBase } from 'component-test-setup';
2
2
  import * as React from 'react';
3
3
  export declare const MockGamutProvider: React.FC<{
4
4
  children?: React.ReactNode;
5
5
  useLogicalProperties?: boolean;
6
6
  }>;
7
- /**
8
- * @deprecated Enzyme is no longer being maintained. Use RTL instead.
9
- */
10
- export declare const setupEnzyme: typeof setupEnzymeBase;
11
7
  export declare const setupRtl: typeof setupRtlBase;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { GamutProvider, theme } from '@codecademy/gamut-styles';
2
- import { setupEnzyme as setupEnzymeBase, setupRtl as setupRtlBase } from 'component-test-setup';
2
+ import { setupRtl as setupRtlBase } from 'component-test-setup';
3
3
  import overArgs from 'lodash/overArgs';
4
4
  import * as React from 'react';
5
5
 
@@ -28,8 +28,4 @@ function withMockGamutProvider(WrappedComponent) {
28
28
 
29
29
  // overArgs isn't fully typed yet for lack of curried generics, so we have to cast it...
30
30
 
31
- /**
32
- * @deprecated Enzyme is no longer being maintained. Use RTL instead.
33
- */
34
- export const setupEnzyme = overArgs(setupEnzymeBase, withMockGamutProvider);
35
31
  export const setupRtl = overArgs(setupRtlBase, withMockGamutProvider);
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@codecademy/gamut-tests",
3
3
  "description": "Shared component test setup for Gamut applications",
4
- "version": "5.3.5-alpha.fbe641.0",
4
+ "version": "6.0.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "17.14.1-alpha.fbe641.0",
7
+ "@codecademy/gamut-styles": "17.14.0",
8
8
  "component-test-setup": "*",
9
9
  "lodash": "^4.17.23"
10
10
  },