forked from hazza/dspace-angular
Manual fix: sync removed imports between tests and components
The automatic migration made it so HTML always uses the `Themed*` component, and it must therefore be imported in all standalone components that use it. Afterwards, many unit tests fail because the removed imports no longer match up (can't inject `ThemeService`). While we could try to support this as part of the automatic migration, there are too many edge cases for this to be consistent.
This commit is contained in:
@@ -18,7 +18,7 @@ import { ItemDataService } from 'src/app/core/data/item-data.service';
|
||||
|
||||
import { PaginationService } from '../../../core/pagination/pagination.service';
|
||||
import { AlertComponent } from '../../../shared/alert/alert.component';
|
||||
import { LoadingComponent } from '../../../shared/loading/loading.component';
|
||||
import { ThemedLoadingComponent } from '../../../shared/loading/themed-loading.component';
|
||||
import {
|
||||
getMockNotificationsStateService,
|
||||
qualityAssuranceTopicObjectMoreAbstract,
|
||||
@@ -69,7 +69,7 @@ describe('QualityAssuranceTopicsComponent test suite', () => {
|
||||
remove: {
|
||||
imports: [
|
||||
AlertComponent,
|
||||
LoadingComponent,
|
||||
ThemedLoadingComponent,
|
||||
PaginationComponent,
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user