File tree 1 file changed +1
-11
lines changed
src/app/shared/theme-support
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
import { ThemeEffects } from './theme.effects' ;
2
2
import { TestBed } from '@angular/core/testing' ;
3
3
import { provideMockActions } from '@ngrx/effects/testing' ;
4
- import { cold , hot } from 'jasmine-marbles' ;
4
+ import { hot } from 'jasmine-marbles' ;
5
5
import { ROOT_EFFECTS_INIT } from '@ngrx/effects' ;
6
- import { SetThemeAction } from './theme.actions' ;
7
6
import { provideMockStore } from '@ngrx/store/testing' ;
8
- import { BASE_THEME_NAME } from './theme.constants' ;
9
7
10
8
describe ( 'ThemeEffects' , ( ) => {
11
9
let themeEffects : ThemeEffects ;
@@ -42,13 +40,5 @@ describe('ThemeEffects', () => {
42
40
} )
43
41
) ;
44
42
} ) ;
45
-
46
- it ( 'should set the default theme' , ( ) => {
47
- const expected = cold ( '--b-' , {
48
- b : new SetThemeAction ( BASE_THEME_NAME )
49
- } ) ;
50
-
51
- expect ( themeEffects . initTheme$ ) . toBeObservable ( expected ) ;
52
- } ) ;
53
43
} ) ;
54
44
} ) ;
You can’t perform that action at this time.
0 commit comments