http service tests

This commit is contained in:
2025-10-24 01:30:39 +02:00
parent 10d004ded8
commit 21722cef59
4 changed files with 85 additions and 15 deletions

View File

@@ -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]
})