22 lines
487 B
TypeScript
22 lines
487 B
TypeScript
// Core imports
|
|
import { TestBed } from '@angular/core/testing';
|
|
|
|
// Application imports
|
|
import { AuthGuard } from '@app/_guards/auth.guard';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
|
|
describe('AuthGuard', () => {
|
|
let guard: AuthGuard;
|
|
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [RouterTestingModule],
|
|
});
|
|
guard = TestBed.inject(AuthGuard);
|
|
});
|
|
|
|
it('should be created', () => {
|
|
expect(guard).toBeTruthy();
|
|
});
|
|
});
|