import { TestBed } from '@angular/core/testing'; import { PhotoService } from './photo.service'; describe('PhotoService', () => { let service: PhotoService; beforeEach(() => { TestBed.configureTestingModule({ teardown: { destroyAfterEach: false } }); service = TestBed.inject(PhotoService); }); it('should be created', () => { expect(service).toBeTruthy(); }); });