http service tests
This commit is contained in:
@@ -5,6 +5,10 @@ import { AppRoutingModule } from './app-routing-module';
|
||||
import { App } from './app';
|
||||
import { PocModelComponent } from './poc-model-component/poc-model-component';
|
||||
import { HomeComponent } from './home-component/home-component';
|
||||
import { provideHttpClient, withFetch } from '@angular/common/http';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@@ -13,11 +17,16 @@ import { HomeComponent } from './home-component/home-component';
|
||||
HomeComponent
|
||||
],
|
||||
imports: [
|
||||
AppRoutingModule,
|
||||
BrowserModule,
|
||||
AppRoutingModule
|
||||
CommonModule,
|
||||
FormsModule
|
||||
],
|
||||
providers: [
|
||||
provideBrowserGlobalErrorListeners()
|
||||
provideBrowserGlobalErrorListeners(),
|
||||
provideHttpClient(
|
||||
withFetch(),
|
||||
)
|
||||
],
|
||||
bootstrap: [App]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user