File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import messages from './i18n';
1313jest . mock ( '@edx/frontend-platform/react/hooks' , ( ) => ( {
1414 ...jest . requireActual ( '@edx/frontend-platform/react/hooks' ) ,
1515 useTrackColorSchemeChoice : jest . fn ( ) ,
16+ useParagonTheme : ( ) => [ { isThemeLoaded : true } , jest . fn ( ) ] ,
1617} ) ) ;
1718
1819Object . defineProperty ( window , 'matchMedia' , {
@@ -57,11 +58,6 @@ export function initializeMockApp() {
5758 return { loggingService, i18nService, authService } ;
5859}
5960
60- jest . mock ( '@edx/frontend-platform/react/hooks' , ( ) => ( {
61- ...jest . requireActual ( '@edx/frontend-platform/react/hooks' ) ,
62- useTrackColorSchemeChoice : jest . fn ( ) ,
63- } ) ) ;
64-
6561function render ( ui , options ) {
6662 // eslint-disable-next-line react/prop-types
6763 function Wrapper ( { children } ) {
You can’t perform that action at this time.
0 commit comments