Skip to content

Commit 9b6d190

Browse files
cexbrayatangular-robot[bot]
authored andcommitted
fix(@schematics/angular): remove EnvironmentInjector import in functional guard spec
It is unnecessary now that the spec uses `runInInjectionContext` The resolver spec does not have this issue as the import was missing in the spec in the first place.
1 parent 07af1a0 commit 9b6d190

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/schematics/angular/guard/type-files/__name@dasherize__.guard.spec.ts.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { EnvironmentInjector } from '@angular/core';
21
import { TestBed } from '@angular/core/testing';
32
import { <%= guardType %> } from '@angular/router';
43

0 commit comments

Comments
 (0)