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';
import { of } from 'rxjs';
import { CollaborationInVorgangContainerComponent } from './collaboration-in-vorgang-container.component';
import { CollaborationInVorgangComponent } from './collaboration-in-vorgang/collaboration-in-vorgang.component';
import { CollaborationListComponent } from './collaboration-list/collaboration-list.component';
describe('CollaborationInVorgangContainerComponent', () => {
let component: CollaborationInVorgangContainerComponent;
......@@ -22,7 +23,11 @@ describe('CollaborationInVorgangContainerComponent', () => {
beforeEach(async () => {
service = mock(CollaborationService);
await TestBed.configureTestingModule({
declarations: [CollaborationInVorgangContainerComponent, MockComponent(CollaborationInVorgangComponent)],
declarations: [
CollaborationInVorgangContainerComponent,
MockComponent(CollaborationListComponent),
MockComponent(CollaborationInVorgangComponent),
],
providers: [
{
provide: CollaborationService,
......
......@@ -7,7 +7,7 @@ describe('CollaborationListItemComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [CollaborationListItemComponent],
declarations: [CollaborationListItemComponent],
}).compileComponents();
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