File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,17 @@ import { configuration } from './config';
2727import messages from './i18n' ;
2828
2929import App from './App' ;
30- import NoticesWrapper from './components/NoticesWrapper' ;
3130
3231subscribe ( APP_READY , ( ) => {
3332 const root = createRoot ( document . getElementById ( 'root' ) ) ;
3433
3534 root . render (
3635 < StrictMode >
3736 < AppProvider store = { store } >
38- < NoticesWrapper >
39- < Routes >
40- < Route path = "/" element = { < PageWrap > < App /> </ PageWrap > } />
41- < Route path = "*" element = { < Navigate to = "/" replace /> } />
42- </ Routes >
43- </ NoticesWrapper >
37+ < Routes >
38+ < Route path = "/" element = { < PageWrap > < App /> </ PageWrap > } />
39+ < Route path = "*" element = { < Navigate to = "/" replace /> } />
40+ </ Routes >
4441 </ AppProvider >
4542 </ StrictMode > ,
4643 ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ jest.mock('@edx/frontend-platform', () => ({
3535
3636jest . mock ( 'data/store' , ( ) => ( { redux : 'store' } ) ) ;
3737jest . mock ( './App' , ( ) => 'App' ) ;
38- jest . mock ( 'components/NoticesWrapper' , ( ) => 'NoticesWrapper' ) ;
3938
4039describe ( 'app registry' , ( ) => {
4140 let getElement ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ jest.unmock('reselect');
3939jest . unmock ( 'hooks' ) ;
4040
4141jest . mock ( 'plugin-slots/WidgetSidebarSlot' , ( ) => jest . fn ( ( ) => 'widget-sidebar' ) ) ;
42- jest . mock ( 'components/NoticesWrapper ' , ( ) => 'notices-wrapper' ) ;
42+ jest . mock ( 'components/' , ( ) => 'notices-wrapper' ) ;
4343
4444jest . mock ( '@edx/frontend-platform' , ( ) => ( {
4545 ...jest . requireActual ( '@edx/frontend-platform' ) ,
You can’t perform that action at this time.
0 commit comments