0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed App test

- search url for opening modal was updated
This commit is contained in:
Rishabh 2022-07-06 15:56:20 +02:00
parent 52d00ecc72
commit 5058e46ec8

View file

@ -3,7 +3,7 @@ import App from './App';
import React from 'react';
test('renders Sodo Search app component', () => {
window.location.hash = '#/sodo-search';
window.location.hash = '#/search';
render(<App />);
// const containerElement = screen.getElementsByClassName('gh-portal-popup-container');
const containerElement = document.querySelector('.gh-root-frame');