Aam-Digital/ndb-core

View on GitHub
src/app/core/common-components/dialog-close/dialog-close.component.spec.ts

Summary

Maintainability
B
5 hrs
Test Coverage
import { ComponentFixture, TestBed } from "@angular/core/testing";

import { DialogCloseComponent } from "./dialog-close.component";
import { FontAwesomeTestingModule } from "@fortawesome/angular-fontawesome/testing";
import { MatDialogModule } from "@angular/material/dialog";

describe("DialogCloseComponent", () => {
  let component: DialogCloseComponent;
  let fixture: ComponentFixture<DialogCloseComponent>;

  beforeEach(async () => {
    await TestBed.configureTestingModule({
      imports: [
        DialogCloseComponent,
        FontAwesomeTestingModule,
        MatDialogModule,
      ],
    }).compileComponents();
  });

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

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