mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
16 lines
449 B
TypeScript
16 lines
449 B
TypeScript
import { TestBed, async, inject } from '@angular/core/testing';
|
|
|
|
import { <%= classify(name) %>Guard } from './<%= dasherize(name) %>.guard';
|
|
|
|
describe('<%= classify(name) %>Guard', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
providers: [<%= classify(name) %>Guard]
|
|
});
|
|
});
|
|
|
|
it('should ...', inject([<%= classify(name) %>Guard], (guard: <%= classify(name) %>Guard) => {
|
|
expect(guard).toBeTruthy();
|
|
}));
|
|
});
|