File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/app/modules/shared/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ describe('DarkModeComponent', () => {
4949 expect ( component . theme ) . toEqual ( 'light' ) ;
5050 } ) ;
5151
52- it ( 'should be light theme if only the theme property exists in local storage and not its value ' , ( ) => {
52+ it ( 'should be light mode if property ‘ theme’ does not have a value in local storage ' , ( ) => {
5353 localStorage . setItem ( 'theme' , '' ) ;
5454 component . checkThemeInLocalStorage ( ) ;
5555 expect ( component . theme ) . toEqual ( 'light' ) ;
@@ -85,7 +85,7 @@ describe('DarkModeComponent', () => {
8585 } ) ;
8686
8787 it ( 'should be true the isFeatureToggleDarkModeActive property when the user has the dark-mode feature toggle enabled' , fakeAsync ( ( ) => {
88- const filters : FeatureFilterModel [ ] = [ ] ;
88+ const filters : FeatureFilterModel [ ] = [ ] ;
8989 const featureToggle : FeatureToggleModel = { name : 'dark-mode' , enabled : true , filters} ;
9090 spyOn ( featureToggleGeneralService , 'getActivated' ) . and . returnValue ( of ( [ featureToggle ] ) . pipe ( delay ( 1 ) ) ) ;
9191 component . ngOnInit ( ) ;
Original file line number Diff line number Diff line change 6464 height : calc (100vh - 12vh );
6565}
6666
67- .dark-mode-toggle {
67+ .dark-mode-toggle {
6868 position : absolute ;
6969 left : 50% ;
7070 transform : translateX (-50% );
You can’t perform that action at this time.
0 commit comments