The theme mock service with its setTheme control.
setTheme
Replace the active theme and push theme.changed to every known window.
theme.changed
Fixture name or full Theme.
Theme
The broadcast envelope.
const theme = createMockThemeService();theme.setTheme('light'); // pushes theme.changed to every known window Copy
const theme = createMockThemeService();theme.setTheme('light'); // pushes theme.changed to every known window
The theme mock service with its
setThemecontrol.