You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/src/app/cln/routing/routing.component.spec.ts

33 lines
902 B
TypeScript

import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { SharedModule } from '../../shared/shared.module';
import { CLNRoutingComponent } from './routing.component';
describe('CLNRoutingComponent', () => {
let component: CLNRoutingComponent;
let fixture: ComponentFixture<CLNRoutingComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CLNRoutingComponent],
imports: [SharedModule, RouterTestingModule]
}).
compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CLNRoutingComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
afterEach(() => {
TestBed.resetTestingModule();
});
});