srumboard_frontend/src/app/components/tabels/task/task-table.component.spec.ts

29 lines
866 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 { TaskTableComponent } from './task-table.component';
describe('TaskTableComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule,
HttpClientModule,
],
declarations: [
TaskTableComponent,
],
providers: [
BackendService,
]
}).compileComponents();
}));
it('should create the component', () => {
const fixture = TestBed.createComponent(TaskTableComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
});
});