Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace enzyme with @testing-library/react
Replace `enzyme` with `@testing-library/react` in tests. * **tests/FixedColumn-IE.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **package.json** - Remove `enzyme`, `enzyme-adapter-react-16`, and `enzyme-to-json` from `devDependencies` * **tests/Cell.spec.tsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/classComponent.spec.tsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Colgroup.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Deprecated.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/ExpandRow.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/FixedColumn.spec.tsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/FixedHeader.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/GroupingColumns.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Hover.spec.tsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Internal.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Scroll.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Sticky.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Summary.spec.tsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/Table.spec.jsx** - Replace `mount` with `render` from `@testing-library/react` - Update test cases to use `@testing-library/react` methods * **tests/setup.ts** - Remove `enzyme` configuration --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/react-component/table?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information