Aam-Digital/ndb-core

View on GitHub
src/app/child-dev-project/children/child-details/grouped-child-attendance/grouped-child-attendance.component.spec.ts

Summary

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

import { GroupedChildAttendanceComponent } from "./grouped-child-attendance.component";
import { MockedTestingModule } from "../../../../utils/mocked-testing.module";

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

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

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

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