mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
Unit test fixes
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
import { ChangeDetectorRef, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { ComponentFixture, inject, TestBed, waitForAsync, } from '@angular/core/testing';
|
||||
|
||||
import { ScrollToService } from '@nicky-lenaers/ngx-scroll-to';
|
||||
|
||||
import { DragService } from '../../../core/drag.service';
|
||||
import { UploaderOptions } from './uploader-options.model';
|
||||
import { UploaderComponent } from './uploader.component';
|
||||
@@ -33,7 +31,6 @@ describe('Chips component', () => {
|
||||
],
|
||||
providers: [
|
||||
ChangeDetectorRef,
|
||||
ScrollToService,
|
||||
UploaderComponent,
|
||||
DragService,
|
||||
{ provide: HttpXsrfTokenExtractor, useValue: new HttpXsrfTokenExtractorMock('mock-token') },
|
||||
|
@@ -12,7 +12,6 @@ import {
|
||||
import { of as observableOf } from 'rxjs';
|
||||
import { FileUploader, FileUploadModule } from 'ng2-file-upload';
|
||||
import uniqueId from 'lodash/uniqueId';
|
||||
import { ScrollToService } from '@nicky-lenaers/ngx-scroll-to';
|
||||
|
||||
import { UploaderOptions } from './uploader-options.model';
|
||||
import { hasValue, isNotEmpty, isUndefined } from '../../empty.util';
|
||||
@@ -99,7 +98,6 @@ export class UploaderComponent {
|
||||
|
||||
constructor(
|
||||
private cdr: ChangeDetectorRef,
|
||||
private scrollToService: ScrollToService,
|
||||
private dragService: DragService,
|
||||
private tokenExtractor: HttpXsrfTokenExtractor,
|
||||
private cookieService: CookieService
|
||||
|
Reference in New Issue
Block a user