1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-08 04:03:48 +02:00

Add missing gridSize mock

This commit is contained in:
Patrik J. Braun 2023-09-11 17:02:55 +02:00
parent 5a5aec8919
commit 19aa1a0e90

View File

@ -7,11 +7,12 @@ import {OverlayService} from '../overlay.service';
import {ContentService} from '../content.service';
import {GallerySortingService} from '../navigator/sorting.service';
import {QueryService} from '../../../model/query.service';
import {of} from 'rxjs';
import {BehaviorSubject, of} from 'rxjs';
import {HttpClientTestingModule} from '@angular/common/http/testing';
import {PhotoDTO} from '../../../../../common/entities/PhotoDTO';
import {GridMedia} from './GridMedia';
import {GalleryNavigatorService} from '../navigator/navigator.service';
import {GridSizes} from '../../../../../common/entities/GridSizes';
class MockQueryService {
}
@ -26,6 +27,7 @@ class MockGallerySortingService {
}
class MockGalleryNavigatorService {
girdSize = new BehaviorSubject(GridSizes.medium);
}
describe('GalleryGridComponent', () => {