Skip to content
Snippets Groups Projects
Commit 701b00a3 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6477 7185 componentes fix tests

parent dd303dcb
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ import { MockComponent } from 'ng-mocks'; ...@@ -10,6 +10,7 @@ import { MockComponent } from 'ng-mocks';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { CollaborationInVorgangContainerComponent } from './collaboration-in-vorgang-container.component'; import { CollaborationInVorgangContainerComponent } from './collaboration-in-vorgang-container.component';
import { CollaborationInVorgangComponent } from './collaboration-in-vorgang/collaboration-in-vorgang.component'; import { CollaborationInVorgangComponent } from './collaboration-in-vorgang/collaboration-in-vorgang.component';
import { CollaborationListComponent } from './collaboration-list/collaboration-list.component';
describe('CollaborationInVorgangContainerComponent', () => { describe('CollaborationInVorgangContainerComponent', () => {
let component: CollaborationInVorgangContainerComponent; let component: CollaborationInVorgangContainerComponent;
...@@ -22,7 +23,11 @@ describe('CollaborationInVorgangContainerComponent', () => { ...@@ -22,7 +23,11 @@ describe('CollaborationInVorgangContainerComponent', () => {
beforeEach(async () => { beforeEach(async () => {
service = mock(CollaborationService); service = mock(CollaborationService);
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
declarations: [CollaborationInVorgangContainerComponent, MockComponent(CollaborationInVorgangComponent)], declarations: [
CollaborationInVorgangContainerComponent,
MockComponent(CollaborationListComponent),
MockComponent(CollaborationInVorgangComponent),
],
providers: [ providers: [
{ {
provide: CollaborationService, provide: CollaborationService,
......
...@@ -7,7 +7,7 @@ describe('CollaborationListItemComponent', () => { ...@@ -7,7 +7,7 @@ describe('CollaborationListItemComponent', () => {
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
imports: [CollaborationListItemComponent], declarations: [CollaborationListItemComponent],
}).compileComponents(); }).compileComponents();
fixture = TestBed.createComponent(CollaborationListItemComponent); fixture = TestBed.createComponent(CollaborationListItemComponent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment