File tree Expand file tree Collapse file tree
src/app/shared/theme-support Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { ThemeEffects } from './theme.effects' ;
22import { TestBed } from '@angular/core/testing' ;
33import { provideMockActions } from '@ngrx/effects/testing' ;
4- import { cold , hot } from 'jasmine-marbles' ;
4+ import { hot } from 'jasmine-marbles' ;
55import { ROOT_EFFECTS_INIT } from '@ngrx/effects' ;
6- import { SetThemeAction } from './theme.actions' ;
76import { provideMockStore } from '@ngrx/store/testing' ;
8- import { BASE_THEME_NAME } from './theme.constants' ;
97
108describe ( 'ThemeEffects' , ( ) => {
119 let themeEffects : ThemeEffects ;
@@ -42,13 +40,5 @@ describe('ThemeEffects', () => {
4240 } )
4341 ) ;
4442 } ) ;
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- } ) ;
5343 } ) ;
5444} ) ;
You can’t perform that action at this time.
0 commit comments