Browse Source

refactor: replace service with modalService

pull/3552/head
Arman Ozak 7 years ago
parent
commit
9f97c9aeaa
  1. 4
      npm/ng-packs/packages/theme-shared/src/lib/tests/modal.service.spec.ts

4
npm/ng-packs/packages/theme-shared/src/lib/tests/modal.service.spec.ts

@ -15,7 +15,7 @@ describe('ModalContainerComponent', () => {
@ViewChild('ref', { static: true })
template: TemplateRef<any>;
constructor(public service: ModalService) {}
constructor(public modalService: ModalService) {}
}
let spectator: Spectator<TestComponent>;
@ -28,7 +28,7 @@ describe('ModalContainerComponent', () => {
beforeEach(() => {
spectator = createComponent();
service = spectator.component.service;
service = spectator.component.modalService;
});
afterEach(() => {

Loading…
Cancel
Save