Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test cases for dwapi - Dashboard,EMRSettings,and Registry test cases #105

Open
wants to merge 7 commits into
base: unit-tests
Choose a base branch
from
Next Next commit
Including the Provider and Testingmodule for AppBreadCrumpComponent
chesterosoronyas committed Jan 12, 2022
commit e4ab3bc4890b9eea0d2532964667104858cfd0b5
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
import { RouterTestingModule } from "@angular/router/testing";
import { BreadcrumbService } from "../breadcrumb.service";
import { AppBreadcrumbComponent } from "./app-breadcrumb.component";

import { AppBreadcrumbComponent } from './app-breadcrumb.component';
describe("AppBreadcrumbComponent", () => {
let component: AppBreadcrumbComponent;
let fixture: ComponentFixture<AppBreadcrumbComponent>;
//let service: BreadcrumbService;

describe('AppBreadcrumbComponent', () => {
let component: AppBreadcrumbComponent;
let fixture: ComponentFixture<AppBreadcrumbComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule],
declarations: [AppBreadcrumbComponent],
providers:[BreadcrumbService]
}).compileComponents();
}));

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ AppBreadcrumbComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(AppBreadcrumbComponent);
component = fixture.componentInstance;

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

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