feat: Added file formatting
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { CanActivateChildFn } from '@angular/router';
|
||||
import { TestBed } from '@angular/core/testing'
|
||||
import { CanActivateChildFn } from '@angular/router'
|
||||
|
||||
import { adminGuard } from './admin.guard';
|
||||
import { adminGuard } from './admin.guard'
|
||||
|
||||
describe('adminGuard', () => {
|
||||
const executeGuard: CanActivateChildFn = (...guardParameters) =>
|
||||
TestBed.runInInjectionContext(() => adminGuard(...guardParameters));
|
||||
const executeGuard: CanActivateChildFn = (...guardParameters) =>
|
||||
TestBed.runInInjectionContext(() => adminGuard(...guardParameters))
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
});
|
||||
TestBed.configureTestingModule({})
|
||||
})
|
||||
|
||||
it('should be created', () => {
|
||||
expect(executeGuard).toBeTruthy();
|
||||
});
|
||||
});
|
||||
expect(executeGuard).toBeTruthy()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user