Skip to content

Commit 0a4f0b9

Browse files
committed
129694: fixed test issues
1 parent c02ca9a commit 0a4f0b9

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/app/shared/theme-support/theme.effects.spec.ts

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import { ThemeEffects } from './theme.effects';
22
import { TestBed } from '@angular/core/testing';
33
import { provideMockActions } from '@ngrx/effects/testing';
4-
import { cold, hot } from 'jasmine-marbles';
4+
import { hot } from 'jasmine-marbles';
55
import { ROOT_EFFECTS_INIT } from '@ngrx/effects';
6-
import { SetThemeAction } from './theme.actions';
76
import { provideMockStore } from '@ngrx/store/testing';
8-
import { BASE_THEME_NAME } from './theme.constants';
97

108
describe('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
});

0 commit comments

Comments
 (0)