mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
10 lines
307 B
TypeScript
10 lines
307 B
TypeScript
import { ThemeService } from '../theme-support/theme.service';
|
|
import { of as observableOf } from 'rxjs';
|
|
|
|
export function getMockThemeService(themeName = 'base'): ThemeService {
|
|
return jasmine.createSpyObj('themeService', {
|
|
getThemeName: themeName,
|
|
getThemeName$: observableOf(themeName)
|
|
});
|
|
}
|