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:
parent
5a5aec8919
commit
19aa1a0e90
@ -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', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user