Skip to content

Commit

Permalink
fix(test): add missing declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Cappa <[email protected]>
  • Loading branch information
Ks89 committed Sep 12, 2023
1 parent 5472e7b commit 902ad54
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import { inject, TestBed, waitForAsync } from '@angular/core/testing';
import { AttachToOverlayService } from './attach-to-overlay.service';
import { ModalGalleryService } from './modal-gallery.service';
import { OverlayModule, OverlayRef } from '@angular/cdk/overlay';
import { OverlayModule, OverlayRef } from "@angular/cdk/overlay";
import { Image } from '../../model/image.class';
import { ModalGalleryRef } from './modal-gallery-ref';
import { ModalGalleryComponent } from './modal-gallery.component';
import { UpperButtonsComponent } from '../upper-buttons/upper-buttons.component';
import { CurrentImageComponent } from '../current-image/current-image.component';
import { DotsComponent } from '../dots/dots.component';
import { PreviewsComponent } from '../previews/previews.component';

const IMAGES: Image[] = [
new Image(0, {
Expand Down Expand Up @@ -55,6 +60,9 @@ describe('AttachToOverlayService', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [OverlayModule],
declarations: [ModalGalleryComponent, UpperButtonsComponent,
CurrentImageComponent, DotsComponent, PreviewsComponent
],
providers: [
AttachToOverlayService,
{
Expand Down

0 comments on commit 902ad54

Please sign in to comment.