[DURACOM-248] Fix lint

This commit is contained in:
Giuseppe Digilio
2024-04-11 18:03:30 +02:00
parent a8fcfa2550
commit 7b1f264812
7 changed files with 8 additions and 7 deletions

View File

@@ -12,7 +12,6 @@ import {
Store,
StoreModule,
} from '@ngrx/store';
import { REQUEST } from '../../../express.tokens';
import { TranslateService } from '@ngx-translate/core';
import { cold } from 'jasmine-marbles';
import {
@@ -20,6 +19,7 @@ import {
of as observableOf,
} from 'rxjs';
import { REQUEST } from '../../../express.tokens';
import { AppState } from '../../app.reducer';
import { getMockTranslateService } from '../../shared/mocks/translate.service.mock';
import { NotificationsService } from '../../shared/notifications/notifications.service';

View File

@@ -4,8 +4,8 @@ import {
HttpTestingController,
} from '@angular/common/http/testing';
import { TestBed } from '@angular/core/testing';
import { REQUEST } from '../../../express.tokens';
import { REQUEST } from '../../../express.tokens';
import { DspaceRestService } from '../dspace-rest/dspace-rest.service';
import { ForwardClientIpInterceptor } from './forward-client-ip.interceptor';

View File

@@ -2,8 +2,8 @@ import {
TestBed,
waitForAsync,
} from '@angular/core/testing';
import { REQUEST } from '../../../express.tokens';
import { REQUEST } from '../../../express.tokens';
import {
CookieService,
ICookieService,

View File

@@ -3,9 +3,10 @@ import {
Injectable,
Optional,
} from '@angular/core';
import { RESPONSE } from '../../../express.tokens';
import { Response } from 'express';
import { RESPONSE } from '../../../express.tokens';
/**
* Service responsible to provide method to manage the response object
*/

View File

@@ -13,7 +13,6 @@ import {
import { By } from '@angular/platform-browser';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { Store } from '@ngrx/store';
import { REQUEST } from '../../../../../../express.tokens';
import { TranslateService } from '@ngx-translate/core';
import {
Observable,
@@ -21,6 +20,7 @@ import {
} from 'rxjs';
import { APP_CONFIG } from '../../../../../../config/app-config.interface';
import { REQUEST } from '../../../../../../express.tokens';
import { AuthService } from '../../../../../core/auth/auth.service';
import { RemoteDataBuildService } from '../../../../../core/cache/builders/remote-data-build.service';
import { ObjectCacheService } from '../../../../../core/cache/object-cache.service';

View File

@@ -13,7 +13,6 @@ import {
Router,
} from '@angular/router';
import { provideMockStore } from '@ngrx/store/testing';
import { REQUEST } from '../../../../../express.tokens';
import { TranslateModule } from '@ngx-translate/core';
import { of as observableOf } from 'rxjs';
import { AuthRequestService } from 'src/app/core/auth/auth-request.service';
@@ -23,6 +22,7 @@ import { ActivatedRouteStub } from 'src/app/shared/testing/active-router.stub';
import { AuthRequestServiceStub } from 'src/app/shared/testing/auth-request-service.stub';
import { APP_CONFIG } from '../../../../../config/app-config.interface';
import { REQUEST } from '../../../../../express.tokens';
import { LinkService } from '../../../../core/cache/builders/link.service';
import { ConfigurationDataService } from '../../../../core/data/configuration-data.service';
import { FieldChangeType } from '../../../../core/data/object-updates/field-change-type.model';

View File

@@ -12,7 +12,6 @@ import {
import { By } from '@angular/platform-browser';
import { ActivatedRoute } from '@angular/router';
import { provideMockStore } from '@ngrx/store/testing';
import { REQUEST } from '../../../../../express.tokens';
import { TranslateModule } from '@ngx-translate/core';
import { of } from 'rxjs';
import { AuthRequestService } from 'src/app/core/auth/auth-request.service';
@@ -27,6 +26,7 @@ import {
APP_CONFIG,
APP_DATA_SERVICES_MAP,
} from '../../../../../config/app-config.interface';
import { REQUEST } from '../../../../../express.tokens';
import { Context } from '../../../../core/shared/context.model';
import { GenericConstructor } from '../../../../core/shared/generic-constructor';
import { ListableModule } from '../../../../core/shared/listable.module';