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