import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {MonitorComponent} from './monitor.component'; describe('MonitorComponent', () => { let component: MonitorComponent; let fixture: ComponentFixture; beforeEach( waitForAsync(() => { void TestBed.configureTestingModule({ imports: [MonitorComponent], }).compileComponents(); }), ); beforeEach(() => { fixture = TestBed.createComponent(MonitorComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { void expect(component).toBeTruthy(); }); });