fix: updated existing enzyme tests to use react testing library

This commit is contained in:
jciasenza
2025-03-28 17:45:48 -03:00
parent 896ca99c79
commit bae47af758
5 changed files with 654 additions and 3080 deletions

View File

@@ -45,6 +45,9 @@
"@edx/frontend-component-cookie-policy-banner": "2.2.0",
"@edx/paragon": "2.6.4",
"@edx/studio-frontend": "^2.1.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^12.8.3",
"babel-loader": "^9.1.3",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-polyfill": "6.26.0",
@@ -102,12 +105,9 @@
"@edx/mockprock": "github:openedx/mockprock#d70b05231bd46b0122616c24e209c890ef2633c0",
"@edx/stylelint-config-edx": "2.3.3",
"babel-jest": "29.7.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.8",
"jasmine-core": "2.6.4",
"jasmine-jquery": "git+https://git@github.com/velesin/jasmine-jquery.git#ebad463d592d3fea00c69f26ea18a930e09c7b58",
"jest": "29.7.0",
"jest-enzyme": "7.1.2",
"karma": "0.13.22",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",