Skip to content

Commit

Permalink
tests (viewer): fix warnings (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasschweizer committed Dec 4, 2020
1 parent 56949b1 commit 5ac7e22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Expand Up @@ -79,7 +79,6 @@ describe('UploadFileComponent', () => {
const fileTypes = ['image/jpeg', 'image/jp2', 'image/tiff', 'image/tiff-fx', 'image/png'];
component.representation = Constants.StillImageFileValue;
for (const type of fileTypes) {
console.log(type);
expect(component['_isFileTypeSupported'](type)).toBeTruthy();
}
});
Expand Down
Expand Up @@ -21,6 +21,8 @@ class TestResourceListComponent {

@Input() resources: ReadResourceSequence;

@Input() selectedResourceIdx: number;

}

/**
Expand Down
Expand Up @@ -21,6 +21,7 @@ import { map } from 'rxjs/internal/operators/map';
import { DspApiConnectionToken } from '../../../core/core.module';
import { EmitEvent, Events, ValueOperationEventService } from '../../services/value-operation-event.service';
import { PropertyInfoValues, ResourceViewComponent } from './resource-view.component';
import { MatDividerModule } from '@angular/material/divider';

/**
* Test host component to simulate child component, here property-view.
Expand Down Expand Up @@ -120,7 +121,8 @@ describe('ResourceViewComponent', () => {
],
imports: [
MatIconModule,
MatSnackBarModule
MatSnackBarModule,
MatDividerModule
],
providers: [
{
Expand Down

0 comments on commit 5ac7e22

Please sign in to comment.