| 1234567891011121314151617181920212223242526272829 |
- import { async, ComponentFixture, TestBed } from "@angular/core/testing";
- import { DashboardComponent } from "./dashboard.component";
- import { RouterTestingModule } from "@angular/router/testing";
- import { NO_ERRORS_SCHEMA } from "@angular/core";
- import { RouterLinkWithHref } from "@angular/router";
- describe("DashboardComponent", () => {
- let component: DashboardComponent;
- let fixture: ComponentFixture<DashboardComponent>;
- beforeEach(async(() => {
- TestBed.configureTestingModule({
- imports: [RouterTestingModule],
- declarations: [DashboardComponent],
- schemas: [NO_ERRORS_SCHEMA]
- }).compileComponents();
- }));
- beforeEach(() => {
- fixture = TestBed.createComponent(DashboardComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
- it("should create", () => {
- expect(component).toBeTruthy();
- });
- });
|