Skip to content

Commit

Permalink
chore: update dependencies and regenerate package-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoa committed Jun 26, 2024
1 parent 2085ab7 commit 06fc4e6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 116 deletions.
137 changes: 24 additions & 113 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"axios-mock-adapter": "^1.21.3",
"core-js": "3.37.1",
"husky": "8.0.3",
"jest-localstorage-mock": "^2.4.26",
"jsdoc": "^4.0.0",
"nodemon": "3.1.4",
"prop-types": "15.8.1",
Expand Down Expand Up @@ -78,7 +77,7 @@
},
"peerDependencies": {
"@openedx/frontend-build": ">= 14.0.0",
"@openedx/paragon": ">= 21.5.7 < 23.0.0 || 23.0.0-alpha.1",
"@openedx/paragon": " 23.0.0-alpha.1 || >= 21.5.7 < 23.0.0",
"prop-types": ">=15.7.2 <16.0.0",
"react": "^16.9.0 || ^17.0.0",
"react-dom": "^16.9.0 || ^17.0.0",
Expand Down
6 changes: 6 additions & 0 deletions src/react/AppProvider.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jest.mock('./hooks', () => ({
]),
}));

Object.defineProperty(window, 'localStorage', {
value: {
setItem: jest.fn(),
},
});

describe('AppProvider', () => {
beforeEach(async () => {
jest.clearAllMocks();
Expand Down
1 change: 0 additions & 1 deletion src/setupTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import 'core-js/stable';
import 'regenerator-runtime/runtime';
import '@testing-library/jest-dom';
import 'jest-localstorage-mock';

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

0 comments on commit 06fc4e6

Please sign in to comment.