Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('#i18n', () => {
injector.get(DelonLocaleService).setLocale(en_US);
context.type = 403;
fixture.detectChanges();
expect((dl.query(By.css('.exception__cont-desc')).nativeElement as HTMLElement).innerText).toBe(
en_US.exception['403'],
);
});
});