Kamil Chmielowski
Web / Angular
Jasmine code coverage report for cv app.
You can contact with me by email: kamilchmielowski94@gmail.com or my page.
Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 3x 1x | import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BrowserModule } from '@angular/platform-browser'; import { HttpClient, HttpClientModule } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { AngularSvgIconModule } from 'angular-svg-icon'; import { TranslateHttpLoader } from '@ngx-translate/http-loader'; import { TranslateModule, TranslateLoader } from '@ngx-translate/core'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; import { HeaderComponent } from './components/header/header.component'; import { PageAnimationDirective } from './directives/page-animation/page-animation.directive'; export function HttpLoaderFactory(http: HttpClient) { return new TranslateHttpLoader(http, 'assets/i18n/', '.json'); } @NgModule({ declarations: [AppComponent], imports: [ BrowserModule, BrowserAnimationsModule, AngularSvgIconModule.forRoot(), AppRoutingModule, HeaderComponent, HttpClientModule, PageAnimationDirective, TranslateModule.forRoot({ defaultLanguage: 'en', loader: { provide: TranslateLoader, useFactory: HttpLoaderFactory, deps: [HttpClient] } }), ], bootstrap: [AppComponent], }) export class AppModule { } |