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