diff --git a/package-lock.json b/package-lock.json index 1326a6ae8..f5288996d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "react-dom": "^18.2.0", "react-helmet-async": "^1.3.0", "react-router-dom": "^6.8.0", - "react-scripts": "5.0.1", + "react-scripts": "^5.0.1", "web-vitals": "^2.1.4", "yaml": "2.9.0" }, diff --git a/package.json b/package.json index 9bf01f3b3..ffdfd8490 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,9 @@ "react-dom": "^18.2.0", "react-helmet-async": "^1.3.0", "react-router-dom": "^6.8.0", - "react-scripts": "5.0.1", - "yaml": "2.9.0", - "web-vitals": "^2.1.4" + "react-scripts": "^5.0.1", + "web-vitals": "^2.1.4", + "yaml": "2.9.0" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.4", diff --git a/src/App.test.js b/src/App.test.js index a2c5fb958..2304dc555 100644 --- a/src/App.test.js +++ b/src/App.test.js @@ -3,10 +3,10 @@ import { render, screen } from '@testing-library/react'; import App from './App'; // Mock the child components to isolate the App component's routing logic -jest.mock('./pages/Home', () => ({ Home: () =>