Skip to content

Commit 4d95237

Browse files
committed
chore: update dependencies and regenerate package-lock
1 parent f847358 commit 4d95237

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
"peerDependencies": {
7878
"@openedx/frontend-build": ">= 14.0.0",
79-
"@openedx/paragon": ">= 21.5.7 < 23.0.0 || 23.0.0-alpha.4",
79+
"@openedx/paragon": " 23.0.0-alpha.4 || >= 21.5.7 < 23.0.0",
8080
"prop-types": ">=15.7.2 <16.0.0",
8181
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
8282
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",

src/react/AppProvider.test.jsx

+6
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jest.mock('./hooks', () => ({
5757
]),
5858
}));
5959

60+
Object.defineProperty(window, 'localStorage', {
61+
value: {
62+
setItem: jest.fn(),
63+
},
64+
});
65+
6066
describe('AppProvider', () => {
6167
beforeEach(async () => {
6268
jest.clearAllMocks();

src/setupTest.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable import/no-extraneous-dependencies */
22
import '@testing-library/jest-dom';
3-
import 'jest-localstorage-mock';
43

54
// These configuration values are usually set in webpack's EnvironmentPlugin however
65
// Jest does not use webpack so we need to set these so for testing

0 commit comments

Comments
 (0)