25 lines
783 B
TypeScript
25 lines
783 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
import { RouterModule } from '@angular/router'; // Import RouterModule
|
|
import { AuthLayoutComponent } from './auth-layout.component';
|
|
|
|
describe('AuthLayoutComponent', () => {
|
|
let component: AuthLayoutComponent;
|
|
let fixture: ComponentFixture<AuthLayoutComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
declarations: [AuthLayoutComponent],
|
|
imports: [RouterModule.forRoot([])] // Include RouterModule with an empty route
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(AuthLayoutComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|