70504: removed unused import and variables

This commit is contained in:
Philip Vissenaekens
2020-07-01 10:15:49 +02:00
parent fc1ffd0e18
commit d35f2a419e
3 changed files with 2 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
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 { Actions, Effect, ofType } from '@ngrx/effects';
import { Action, select, Store } from '@ngrx/store';

View File

@@ -86,7 +86,7 @@ export class EpersonRegistrationService {
find((href: string) => hasValue(href)),
map((href: string) => {
const request = new GetRequest(requestId, href);
const parser = Object.assign(request, {
Object.assign(request, {
getResponseParser(): GenericConstructor<ResponseParsingService> {
return RegistrationResponseParsingService;
}

View File

@@ -62,17 +62,6 @@ describe('CreateProfileComponent', () => {
const eperson = Object.assign(new EPerson(), values);
beforeEach(async(() => {
const mockConfig = {
languages: [{
code: 'en',
label: 'English',
active: true,
}, {
code: 'de',
label: 'Deutsch',
active: false
}]
};
route = {data: observableOf({registration: registration})};
router = new RouterStub();
notificationsService = new NotificationsServiceStub();