(text: string)
| 371 | }); |
| 372 | |
| 373 | function toT18n(text: string) { |
| 374 | const tNodeIndex = HEADER_OFFSET; |
| 375 | fixture.enterView(); |
| 376 | i18nStartFirstCreatePass(fixture.tView, 0, fixture.lView, tNodeIndex, text, -1); |
| 377 | fixture.leaveView(); |
| 378 | const tI18n = fixture.tView.data[tNodeIndex] as TI18n; |
| 379 | expect(tI18n).toEqual(matchTI18n({})); |
| 380 | return tI18n; |
| 381 | } |
| 382 | }); |
no test coverage detected