diff --git a/ghost/sodo-search/src/App.test.js b/ghost/sodo-search/src/App.test.js index 07621dde5f..f1e93d8bac 100644 --- a/ghost/sodo-search/src/App.test.js +++ b/ghost/sodo-search/src/App.test.js @@ -3,6 +3,7 @@ import App from './App'; import React from 'react'; test('renders Sodo Search app component', () => { + window.location.hash = '#/sodo-search'; render(); // const containerElement = screen.getElementsByClassName('gh-portal-popup-container'); const containerElement = document.querySelector('.gh-root-frame');