funky-framadate-front/src/app/features/participation/poll/poll.component.spec.ts

25 lines
585 B
TypeScript
Raw Normal View History

2019-08-09 15:14:23 +02:00
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2020-05-01 19:10:17 +02:00
import { PollComponent } from './poll.component';
2019-08-09 15:14:23 +02:00
2020-05-01 19:10:17 +02:00
describe('PollComponent', () => {
let component: PollComponent;
let fixture: ComponentFixture<PollComponent>;
2019-08-09 15:14:23 +02:00
2020-04-21 10:50:26 +02:00
beforeEach(async(() => {
TestBed.configureTestingModule({
2020-05-01 19:10:17 +02:00
declarations: [PollComponent],
2020-04-21 10:50:26 +02:00
}).compileComponents();
}));
2019-08-09 15:14:23 +02:00
2020-04-21 10:50:26 +02:00
beforeEach(() => {
2020-05-01 19:10:17 +02:00
fixture = TestBed.createComponent(PollComponent);
2020-04-21 10:50:26 +02:00
component = fixture.componentInstance;
fixture.detectChanges();
});
2019-08-09 15:14:23 +02:00
2020-04-21 10:50:26 +02:00
it('should create', () => {
expect(component).toBeTruthy();
});
2019-08-09 15:14:23 +02:00
});