Skip to content
Snippets Groups Projects
Commit 725bf0d8 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6300 fix test; adjust npm script to work at least

parent e3452e33
No related branches found
No related tags found
No related merge requests found
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ButtonComponent, SaveIconComponent } from '@ods/system'; import { ButtonComponent, CollaborationIconComponent, SaveIconComponent } from '@ods/system';
import { MockComponent } from 'ng-mocks';
import { CollaborationInVorgangContainerComponent } from './collaboration-in-vorgang-container.component'; import { CollaborationInVorgangContainerComponent } from './collaboration-in-vorgang-container.component';
describe('CollaborationInVorgangContainerComponent', () => { describe('CollaborationInVorgangContainerComponent', () => {
...@@ -9,7 +10,10 @@ describe('CollaborationInVorgangContainerComponent', () => { ...@@ -9,7 +10,10 @@ describe('CollaborationInVorgangContainerComponent', () => {
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
imports: [ButtonComponent, SaveIconComponent], imports: [ButtonComponent, SaveIconComponent],
declarations: [CollaborationInVorgangContainerComponent], declarations: [
CollaborationInVorgangContainerComponent,
MockComponent(CollaborationIconComponent),
],
}).compileComponents(); }).compileComponents();
fixture = TestBed.createComponent(CollaborationInVorgangContainerComponent); fixture = TestBed.createComponent(CollaborationInVorgangContainerComponent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment