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