Chore: Check for deprecations using eslint plugin

Chore: environment file replacement stopped.
Chore: All components are now standalone and removed all modules
Chore: App routing is now in app.routes and similarly for all submodules
Chore: Http interceptors are now functional and split refresh interceptor into a separate one.
This commit is contained in:
2024-05-31 22:54:41 +05:30
parent b6bb3dbcfd
commit 4571b31fc0
309 changed files with 3897 additions and 5222 deletions
@@ -1,6 +1,4 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ClosingStockComponent } from './closing-stock.component';
@@ -8,14 +6,11 @@ describe('ClosingStockComponent', () => {
let component: ClosingStockComponent;
let fixture: ComponentFixture<ClosingStockComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [ReactiveFormsModule, RouterTestingModule],
declarations: [ClosingStockComponent],
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ClosingStockComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ClosingStockComponent);
component = fixture.componentInstance;
fixture.detectChanges();