refactor: updated edx packages

This commit is contained in:
Bilal Qamar
2024-02-15 16:07:47 +05:00
parent e1a6293ebb
commit 858aff6fba
4 changed files with 5326 additions and 2952 deletions

8236
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -28,12 +28,12 @@
"dependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
"@edx/browserslist-config": "^1.1.0",
"@edx/frontend-component-footer": "^12.2.1",
"@edx/frontend-enterprise-hotjar": "^2.0.0",
"@edx/frontend-platform": "^5.5.4",
"@edx/frontend-component-footer": "13.0.2",
"@edx/frontend-enterprise-hotjar": "3.0.0",
"@edx/frontend-platform": "7.1.0",
"@edx/openedx-atlas": "^0.6.0",
"@openedx/paragon": "^21.11.3",
"@edx/react-unit-test-utils": "^1.7.0",
"@edx/react-unit-test-utils": "2.0.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
@@ -52,7 +52,7 @@
"font-awesome": "4.7.0",
"history": "5.0.1",
"html-react-parser": "^1.3.0",
"jest": "^26.6.3",
"jest": "^29.7.0",
"jest-when": "^3.6.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
@@ -61,7 +61,7 @@
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-intl": "^5.20.9",
"react-intl": "6.4.7",
"react-pdf": "^5.5.0",
"react-redux": "^7.2.4",
"react-router-dom": "6.15.0",
@@ -79,7 +79,7 @@
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@openedx/frontend-build": "13.0.19",
"@openedx/frontend-build": "13.0.28",
"@edx/reactifex": "^2.1.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.0",

View File

@@ -71,25 +71,25 @@ exports[`SelectSessionModal snapshot modal with leave option 1`] = `
key="test-course-id-1"
value="test-course-id-1"
>
1/2/2000
02/01/2000
-
1/2/2020
02/01/2020
</Form.Radio>
<Form.Radio
key="test-course-id-2"
value="test-course-id-2"
>
2/3/2000
03/02/2000
-
2/3/2020
03/02/2020
</Form.Radio>
<Form.Radio
key="test-course-id-3"
value="test-course-id-3"
>
3/4/2000
04/03/2000
-
3/4/2020
04/03/2020
</Form.Radio>
<Form.Radio
value="leave"
@@ -139,25 +139,25 @@ exports[`SelectSessionModal snapshot modal without leave option 1`] = `
key="test-course-id-1"
value="test-course-id-1"
>
1/2/2000
02/01/2000
-
1/2/2020
02/01/2020
</Form.Radio>
<Form.Radio
key="test-course-id-2"
value="test-course-id-2"
>
2/3/2000
03/02/2000
-
2/3/2020
03/02/2020
</Form.Radio>
<Form.Radio
key="test-course-id-3"
value="test-course-id-3"
>
3/4/2000
04/03/2000
-
3/4/2020
04/03/2020
</Form.Radio>
</Form.RadioSet>
</Form.Group>

View File

@@ -6,8 +6,8 @@ jest.mock('../../track', () => ({
trackPaintedDoorRecommendationHomeSkipBtnClicked: jest.fn(),
trackPaintedDoorRecommendationHomeInterestBtnClicked: jest.fn(),
}));
jest.mock('@edx/paragon', () => ({
...jest.requireActual('@edx/paragon'),
jest.mock('@openedx/paragon', () => ({
...jest.requireActual('@openedx/paragon'),
ModalDialog: {
Body: 'ModalDialog.Body',
Header: 'ModalDialog.Header',