srumboard_frontend/src/app/components/tabels/userstory/userstory-table.component.s...

29 lines
894 B
TypeScript

import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { BackendService } from '../../../services/backend.service';
import { HttpClientModule } from '@angular/common/http';
import { UserstoryTableComponent } from './userstory-table.component';
describe('UserstoryTableComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule,
HttpClientModule,
],
declarations: [
UserstoryTableComponent,
],
providers: [
BackendService,
]
}).compileComponents();
}));
it('should create the component', () => {
const fixture = TestBed.createComponent(UserstoryTableComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
});
});