mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
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:
parent
53af8d8243
commit
3f3cf76c37
@ -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",
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user