feat: update Angular dependencies and improve test configurations

This commit is contained in:
2026-03-06 09:24:54 +05:30
parent 1eca714680
commit 196ad13eea
17 changed files with 108 additions and 27 deletions
+4 -1
View File
@@ -1,4 +1,6 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { provideHttpClientTesting } from '@angular/common/http/testing';
import { provideRouter } from '@angular/router';
import { OtpComponent } from './otp.component';
@@ -8,7 +10,8 @@ describe('OtpComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [OtpComponent]
imports: [OtpComponent],
providers: [provideRouter([]), provideHttpClientTesting()]
})
.compileComponents();