mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 06:41:45 +08:00
Currently when using `ivy-ngcc` it will print out a warning ``` Failed to read entry point info from //node_modules/@schematics/angular/workspace/files/package.json with error SyntaxError: Unexpected token < in JSON at position 1121. ``` Fixes #13378
16 lines
449 B
Plaintext
16 lines
449 B
Plaintext
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();
|
|
}));
|
|
});
|