mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
70504: removed unused import and variables
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
import { combineLatest as observableCombineLatest, Observable, of as observableOf } from 'rxjs';
|
import { combineLatest as observableCombineLatest, Observable, of as observableOf } from 'rxjs';
|
||||||
import { catchError, debounceTime, filter, map, switchMap, take, tap } from 'rxjs/operators';
|
import { catchError, filter, map, switchMap, take, tap } from 'rxjs/operators';
|
||||||
// import @ngrx
|
// import @ngrx
|
||||||
import { Actions, Effect, ofType } from '@ngrx/effects';
|
import { Actions, Effect, ofType } from '@ngrx/effects';
|
||||||
import { Action, select, Store } from '@ngrx/store';
|
import { Action, select, Store } from '@ngrx/store';
|
||||||
|
@@ -86,7 +86,7 @@ export class EpersonRegistrationService {
|
|||||||
find((href: string) => hasValue(href)),
|
find((href: string) => hasValue(href)),
|
||||||
map((href: string) => {
|
map((href: string) => {
|
||||||
const request = new GetRequest(requestId, href);
|
const request = new GetRequest(requestId, href);
|
||||||
const parser = Object.assign(request, {
|
Object.assign(request, {
|
||||||
getResponseParser(): GenericConstructor<ResponseParsingService> {
|
getResponseParser(): GenericConstructor<ResponseParsingService> {
|
||||||
return RegistrationResponseParsingService;
|
return RegistrationResponseParsingService;
|
||||||
}
|
}
|
||||||
|
@@ -62,17 +62,6 @@ describe('CreateProfileComponent', () => {
|
|||||||
const eperson = Object.assign(new EPerson(), values);
|
const eperson = Object.assign(new EPerson(), values);
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(async(() => {
|
||||||
const mockConfig = {
|
|
||||||
languages: [{
|
|
||||||
code: 'en',
|
|
||||||
label: 'English',
|
|
||||||
active: true,
|
|
||||||
}, {
|
|
||||||
code: 'de',
|
|
||||||
label: 'Deutsch',
|
|
||||||
active: false
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
route = {data: observableOf({registration: registration})};
|
route = {data: observableOf({registration: registration})};
|
||||||
router = new RouterStub();
|
router = new RouterStub();
|
||||||
notificationsService = new NotificationsServiceStub();
|
notificationsService = new NotificationsServiceStub();
|
||||||
|
Reference in New Issue
Block a user