| 1155 | |
| 1156 | it('should throw if TestBed.overridePipe is called after TestBed initialization', () => { |
| 1157 | @Pipe({ |
| 1158 | name: 'myPipe', |
| 1159 | }) |
| 1160 | class MyPipe { |
| 1161 | transform(value: any) { |
| 1162 | return value; |
| 1163 | } |
| 1164 | } |
| 1165 | |
| 1166 | TestBed.inject(Injector); |
| 1167 |