(text: string)
| 344 | }); |
| 345 | |
| 346 | function toT18n(text: string) { |
| 347 | const tNodeIndex = HEADER_OFFSET; |
| 348 | fixture.enterView(); |
| 349 | i18nStartFirstCreatePass(fixture.tView, 0, fixture.lView, tNodeIndex, text, -1); |
| 350 | fixture.leaveView(); |
| 351 | const tI18n = fixture.tView.data[tNodeIndex] as TI18n; |
| 352 | expect(tI18n).toEqual(matchTI18n({})); |
| 353 | return tI18n; |
| 354 | } |
| 355 | }); |
no test coverage detected