(lView: LView, injectorIndex: number)
| 182 | * @param injectorIndex index into the `LView` where the `NodeInjector` is expected. |
| 183 | */ |
| 184 | export function assertNodeInjector(lView: LView, injectorIndex: number) { |
| 185 | assertIndexInExpandoRange(lView, injectorIndex); |
| 186 | assertIndexInExpandoRange(lView, injectorIndex + NodeInjectorOffset.PARENT); |
| 187 | assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter'); |
| 188 | assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter'); |
| 189 | assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter'); |
| 190 | assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter'); |
| 191 | assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter'); |
| 192 | assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter'); |
| 193 | assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter'); |
| 194 | assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter'); |
| 195 | assertNumber( |
| 196 | lView[injectorIndex + NodeInjectorOffset.PARENT], |
| 197 | 'injectorIndex should point to parent injector', |
| 198 | ); |
| 199 | } |
no test coverage detected
searching dependent graphs…