(translationsToMerge: string, format: string)
| 182 | `; |
| 183 | |
| 184 | export async function configureCompiler(translationsToMerge: string, format: string) { |
| 185 | TestBed.configureCompiler({ |
| 186 | providers: [ |
| 187 | {provide: ResourceLoader, useValue: jasmine.createSpyObj('ResourceLoader', ['get'])}, |
| 188 | FrLocalization.PROVIDE, |
| 189 | {provide: TRANSLATIONS, useValue: translationsToMerge}, |
| 190 | {provide: TRANSLATIONS_FORMAT, useValue: format}, |
| 191 | ], |
| 192 | }); |
| 193 | TestBed.configureTestingModule({declarations: [I18nComponent]}); |
| 194 | } |
| 195 | |
| 196 | export function createComponent(html: string) { |
| 197 | const tb: ComponentFixture<I18nComponent> = TestBed.overrideTemplate( |
no test coverage detected
searching dependent graphs…