Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Remove enzyme #42850

Merged
merged 1 commit into from
Jul 5, 2024
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
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.23.7",
"@mnajdova/enzyme-adapter-react-18": "^0.2.0",
"@mui/internal-docs-utils": "workspace:^",
"@mui/internal-scripts": "workspace:^",
"@mui-internal/api-docs-builder": "workspace:^",
Expand All @@ -118,7 +117,6 @@
"@next/eslint-plugin-next": "^14.1.3",
"@octokit/rest": "^20.0.2",
"@playwright/test": "1.42.1",
"@types/enzyme": "^3.10.18",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.0",
"@types/mocha": "^10.0.6",
Expand All @@ -141,7 +139,6 @@
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"danger": "^11.3.1",
"enzyme": "^3.11.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
"@babel/runtime": "^7.23.9",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.4",
"@mnajdova/enzyme-adapter-react-18": "^0.2.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/react": "^14.2.1",
"chai": "^4.4.1",
"chai-dom": "^1.12.0",
"dom-accessibility-api": "^0.6.3",
"enzyme": "^3.11.0",
"format-util": "^1.0.5",
"fs-extra": "^11.2.0",
"jsdom": "^24.0.0",
Expand All @@ -44,7 +42,6 @@
"devDependencies": {
"@types/chai": "^4.3.12",
"@types/chai-dom": "^1.11.3",
"@types/enzyme": "^3.10.18",
"@types/format-util": "^1.0.4",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.55",
Expand Down
4 changes: 0 additions & 4 deletions packages/test-utils/src/init.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import enzyme from 'enzyme';
import Adapter from '@mnajdova/enzyme-adapter-react-18';
import * as testingLibrary from '@testing-library/react/pure';
import './initMatchers';

enzyme.configure({ adapter: new Adapter() });

// checking if an element is hidden is quite expensive
// this is only done in CI as a fail safe. It can still explicitly be checked
// in the test files which helps documenting what is part of the DOM but hidden
Expand Down
28 changes: 0 additions & 28 deletions packages/test-utils/src/until.js

This file was deleted.

120 changes: 0 additions & 120 deletions packages/test-utils/src/until.test.js

This file was deleted.

Loading
Loading