import { ComponentFixture, TestBed } from '@angular/core/testing';

import { MembersCreateFormComponent } from './members-create-form.component';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { MatDialogModule } from '@angular/material/dialog';
import { ReactiveFormsModule } from '@angular/forms';
import { MatSelectModule } from '@angular/material/select';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatInputModule } from '@angular/material/input';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';

describe('MembersCreateFormComponent', () => {
  let component: MembersCreateFormComponent;
  let fixture: ComponentFixture<MembersCreateFormComponent>;

  beforeEach(async () => {
    await TestBed.configureTestingModule({
      declarations: [MembersCreateFormComponent],
      imports: [
        HttpClientTestingModule, RouterTestingModule, MatDialogModule, ReactiveFormsModule, MatSelectModule,
        MatCheckboxModule, MatInputModule, NoopAnimationsModule,
      ],
    })
      .compileComponents();
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(MembersCreateFormComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
