fix: replace deprecated *ngIf with @if control flow in OTP component

- Migrated all *ngIf directives to modern @if syntax in otp.component.html
- Updated email form, OTP entry, countdown display, and success message conditionals
- Resolves ngtsc deprecation warning 6385 for better Angular 17+ compatibility
This commit is contained in:
2025-10-16 00:26:47 +05:30
parent a3e1748e56
commit 94f4305615
21 changed files with 750 additions and 960 deletions
@@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { AuthInterceptor } from './auth-interceptor';
describe('AuthInterceptor', () => {
beforeEach(() => TestBed.configureTestingModule({
providers: [
AuthInterceptor
]
}));
it('should be created', () => {
const interceptor: AuthInterceptor = TestBed.inject(AuthInterceptor);
expect(interceptor).toBeTruthy();
});
});