(html: string)
| 192 | } |
| 193 | |
| 194 | export function createComponent(html: string) { |
| 195 | const tb: ComponentFixture<I18nComponent> = TestBed.overrideTemplate( |
| 196 | I18nComponent, |
| 197 | html, |
| 198 | ).createComponent(I18nComponent); |
| 199 | return {tb, cmp: tb.componentInstance, el: tb.debugElement}; |
| 200 | } |
| 201 | |
| 202 | export function serializeTranslations(html: string, serializer: Serializer) { |
| 203 | const catalog = new MessageBundle(new HtmlParser(), [], {}); |
no test coverage detected