Added impersonation. More data available via auth service about the user. Added admin auth guard.
This commit is contained in:
23
src/app/impersonation/impersonation.component.spec.ts
Normal file
23
src/app/impersonation/impersonation.component.spec.ts
Normal file
@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ImpersonationComponent } from './impersonation.component';
|
||||
|
||||
describe('ImpersonationComponent', () => {
|
||||
let component: ImpersonationComponent;
|
||||
let fixture: ComponentFixture<ImpersonationComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ImpersonationComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ImpersonationComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user