| 79 | } |
| 80 | |
| 81 | class ServiceWithOptionalDep { |
| 82 | constructor(@Optional() readonly service: OptionalService | null) {} |
| 83 | |
| 84 | static ɵprov = ɵɵdefineInjectable({ |
| 85 | token: ServiceWithOptionalDep, |
| 86 | providedIn: null, |
| 87 | factory: () => |
| 88 | new ServiceWithOptionalDep(ɵɵinject(OptionalService, InternalInjectFlags.Optional)), |
| 89 | }); |
| 90 | } |
| 91 | |
| 92 | class ServiceWithMissingDep { |
| 93 | constructor(readonly service: Service) {} |
nothing calls this directly
no test coverage detected
searching dependent graphs…