feat: update Angular dependencies and improve test configurations
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user