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