File tree Expand file tree Collapse file tree
containers/ProgramDashboard/ProgramsList Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ describe('ProgramListCard', () => {
123123 width : 500 ,
124124 size : 'xSmall' ,
125125 } ] ) ( 'tests window size' , ( { width, size } ) => {
126- global . innerWidth = width ;
126+ innerWidth = width ;
127127 const { getByAltText } = renderComponent ( ) ;
128128 const imageCap = getByAltText ( 'program card image for test-title' ) ;
129129 expect ( imageCap ) . toHaveAttribute ( 'src' , `banner-${ size } .jpg` ) ;
Original file line number Diff line number Diff line change 22import 'core-js/stable' ;
33import 'regenerator-runtime/runtime' ;
44
5- import React , { StrictMode } from 'react' ;
5+ import { StrictMode } from 'react' ;
66import { createRoot } from 'react-dom/client' ;
77import {
88 Navigate , Route , Routes ,
@@ -21,6 +21,7 @@ import {
2121 getConfig ,
2222 mergeConfig ,
2323} from '@edx/frontend-platform' ;
24+ import { FooterSlot } from '@edx/frontend-component-footer' ;
2425
2526import LearnerDashboardHeader from 'containers/LearnerDashboardHeader' ;
2627import { QueryClient , QueryClientProvider } from '@tanstack/react-query' ;
@@ -56,6 +57,7 @@ subscribe(APP_READY, () => {
5657 ) }
5758 < Route path = "*" element = { < Navigate to = "/" replace /> } />
5859 </ Routes >
60+ < FooterSlot />
5961 </ QueryClientProvider >
6062 </ ContextProviders >
6163 </ AppProvider >
You can’t perform that action at this time.
0 commit comments