Skip to content
Snippets Groups Projects
Commit 7145852a authored by OZGCloud's avatar OZGCloud
Browse files

fix tests

parent a7704f02
Branches
Tags
No related merge requests found
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VorgangListItemComponent } from './vorgang-list-item.component';
describe('VorgangListItemComponent', () => {
......@@ -9,13 +8,13 @@ describe('VorgangListItemComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ VorgangListItemComponent ]
})
.compileComponents();
}).compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(VorgangListItemComponent);
component = fixture.componentInstance;
component.vorgang = { initialDate: new Date(), status: 'Neu', name: 'y'}
fixture.detectChanges();
});
......
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VorgangListComponent } from './vorgang-list.component';
import { VorgangModule } from '@goofy-client/vorgang';
import { VorgangListItemComponent } from '../vorgang-list-item/vorgang-list-item.component';
describe('VorgangListComponent', () => {
let component: VorgangListComponent;
......@@ -8,7 +10,8 @@ describe('VorgangListComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ VorgangListComponent ]
imports: [],
declarations: [VorgangListComponent, VorgangListItemComponent]
})
.compileComponents();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment