Updated react-scripts to v5

refs https://github.com/TryGhost/Toolbox/issues/400

- this fixes various build issues when it's moved into the Ghost
  monorepo
This commit is contained in:
Daniel Lockyer 2023-03-17 09:25:39 +01:00
parent 53af8d8243
commit 3f3cf76c37
3 changed files with 4062 additions and 4428 deletions

View File

@ -25,7 +25,7 @@
"flexsearch": "0.7.21",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "4.0.3"
"react-scripts": "5.0.1"
},
"scripts": {
"start": "BROWSER=none react-scripts start",

View File

@ -6,6 +6,7 @@ test('renders Sodo Search app component', () => {
window.location.hash = '#/search';
render(<App adminUrl="http://localhost" apiKey="69010382388f9de5869ad6e558" />);
// const containerElement = screen.getElementsByClassName('gh-portal-popup-container');
// eslint-disable-next-line testing-library/no-node-access
const containerElement = document.querySelector('.gh-root-frame');
expect(containerElement).toBeInTheDocument();
});

File diff suppressed because it is too large Load Diff