add guards admin-dashboard and user-dashboard components

This commit is contained in:
2026-03-16 17:43:26 +01:00
parent 53190c2db0
commit 9452732730
35 changed files with 837 additions and 38 deletions

View File

@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { UserDashboardComponent } from './user-dashboard.component';
describe('UserDashboardComponent', () => {
let component: UserDashboardComponent;
let fixture: ComponentFixture<UserDashboardComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [UserDashboardComponent]
})
.compileComponents();
fixture = TestBed.createComponent(UserDashboardComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});