Aam-Digital/ndb-core

View on GitHub
src/app/child-dev-project/attendance/attendance-status-select/attendance-status-select.component.spec.ts

Summary

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

import { AttendanceStatusSelectComponent } from "./attendance-status-select.component";
import { MockedTestingModule } from "../../../utils/mocked-testing.module";

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

  beforeEach(waitForAsync(() => {
    TestBed.configureTestingModule({
      imports: [
        AttendanceStatusSelectComponent,
        MockedTestingModule.withState(),
      ],
    }).compileComponents();
  }));

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

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