blob: ccc9787e7dd1631cf97e6f3ea2260c702a1d18da [file] [log] [blame]
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { VisModule } from 'ngx-vis';
import { TestingModule } from '../../testing/testing.module';
import { DashboardComponent } from './dashboard.component';
describe('DashboardComponent', () => {
let component: DashboardComponent;
let fixture: ComponentFixture<DashboardComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [TestingModule, VisModule, HttpClientTestingModule],
schemas: [NO_ERRORS_SCHEMA],
declarations: [DashboardComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DashboardComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});