import { TestBed, inject } from '@angular/core/testing'; import { LayerService } from './layer.service'; describe('LayerService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [LayerService] }); }); it( 'should be created', inject([LayerService], (service: LayerService) => { expect(service).toBeTruthy(); }) ); });