Fix component references in ShowMonoliticImagesComponent tests
testing/ogGui-multibranch/pipeline/head This commit looks good Details

pull/19/head
Lucas Lara García 2025-04-09 12:31:12 +02:00
parent 390bc54213
commit bd0135b796
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { ShowMonoliticImagesComponent } from './show-images.component';
import { ShowMonoliticImagesComponent } from './show-monolitic-images.component';
import { ToastrModule } from 'ngx-toastr';
import { MatDialogModule, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { TranslateModule } from '@ngx-translate/core';
@ -18,8 +18,8 @@ import { MatInputModule } from '@angular/material/input';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
describe('ShowMonoliticImagesComponent', () => {
let component: ShowImagesComponent;
let fixture: ComponentFixture<ShowImagesComponent>;
let component: ShowMonoliticImagesComponent;
let fixture: ComponentFixture<ShowMonoliticImagesComponent>;
beforeEach(async () => {
const mockConfigService = {
@ -27,7 +27,7 @@ describe('ShowMonoliticImagesComponent', () => {
};
await TestBed.configureTestingModule({
declarations: [ShowImagesComponent, LoadingComponent],
declarations: [ShowMonoliticImagesComponent, LoadingComponent],
imports: [
HttpClientTestingModule,
ToastrModule.forRoot(),
@ -52,7 +52,7 @@ describe('ShowMonoliticImagesComponent', () => {
})
.compileComponents();
fixture = TestBed.createComponent(ShowImagesComponent);
fixture = TestBed.createComponent(ShowMonoliticImagesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});