WEB-201 Merge angular-update-18 into dev to upgrade Angular from v17 to v18 (#2513)

This commit is contained in:
Gopi Kishan
2025-06-13 08:19:03 -06:00
committed by GitHub
parent 0a8aa1d5e9
commit b7c6ea857a
735 changed files with 8050 additions and 20668 deletions
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CreateSharesAccountComponent } from './create-shares-account.component';
describe('CreateSharesAccountComponent', () => {
let component: CreateSharesAccountComponent;
let fixture: ComponentFixture<CreateSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [CreateSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CreateSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { EditSharesAccountComponent } from './edit-shares-account.component';
describe('EditSharesAccountComponent', () => {
let component: EditSharesAccountComponent;
let fixture: ComponentFixture<EditSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [EditSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(EditSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivateSharesAccountComponent } from './activate-shares-account.component';
describe('ActivateSharesAccountComponent', () => {
let component: ActivateSharesAccountComponent;
let fixture: ComponentFixture<ActivateSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ActivateSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ActivateSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ApplySharesComponent } from './apply-shares.component';
describe('ApplySharesComponent', () => {
let component: ApplySharesComponent;
let fixture: ComponentFixture<ApplySharesComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ApplySharesComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ApplySharesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ApproveSharesAccountComponent } from './approve-shares-account.component';
describe('ApproveSharesAccountComponent', () => {
let component: ApproveSharesAccountComponent;
let fixture: ComponentFixture<ApproveSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ApproveSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ApproveSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ApproveShareDialogComponent } from './approve-share-dialog.component';
describe('ApproveShareDialogComponent', () => {
let component: ApproveShareDialogComponent;
let fixture: ComponentFixture<ApproveShareDialogComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ApproveShareDialogComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ApproveShareDialogComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ApproveSharesComponent } from './approve-shares.component';
describe('ApproveSharesComponent', () => {
let component: ApproveSharesComponent;
let fixture: ComponentFixture<ApproveSharesComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ApproveSharesComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ApproveSharesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CloseSharesAccountComponent } from './close-shares-account.component';
describe('CloseSharesAccountComponent', () => {
let component: CloseSharesAccountComponent;
let fixture: ComponentFixture<CloseSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [CloseSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CloseSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RedeemSharesComponent } from './redeem-shares.component';
describe('RedeemSharesComponent', () => {
let component: RedeemSharesComponent;
let fixture: ComponentFixture<RedeemSharesComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [RedeemSharesComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(RedeemSharesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RejectSharesAccountComponent } from './reject-shares-account.component';
describe('RejectSharesAccountComponent', () => {
let component: RejectSharesAccountComponent;
let fixture: ComponentFixture<RejectSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [RejectSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(RejectSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RejectShareDialogComponent } from './reject-share-dialog.component';
describe('RejectSharesDialogComponent', () => {
let component: RejectShareDialogComponent;
let fixture: ComponentFixture<RejectShareDialogComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [RejectShareDialogComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(RejectShareDialogComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RejectSharesComponent } from './reject-shares.component';
describe('RejectSharesComponent', () => {
let component: RejectSharesComponent;
let fixture: ComponentFixture<RejectSharesComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [RejectSharesComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(RejectSharesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharesAccountActionsComponent } from './shares-account-actions.component';
describe('SharesAccountActionsComponent', () => {
let component: SharesAccountActionsComponent;
let fixture: ComponentFixture<SharesAccountActionsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SharesAccountActionsComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SharesAccountActionsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { UndoApprovalSharesAccountComponent } from './undo-approval-shares-account.component';
describe('UndoApprovalSharesAccountComponent', () => {
let component: UndoApprovalSharesAccountComponent;
let fixture: ComponentFixture<UndoApprovalSharesAccountComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [UndoApprovalSharesAccountComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(UndoApprovalSharesAccountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharesAccountChargesStepComponent } from './shares-account-charges-step.component';
describe('SharesAccountChargesStepComponent', () => {
let component: SharesAccountChargesStepComponent;
let fixture: ComponentFixture<SharesAccountChargesStepComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SharesAccountChargesStepComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SharesAccountChargesStepComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharesAccountDetailsStepComponent } from './shares-account-details-step.component';
describe('SharesAccountDetailsStepComponent', () => {
let component: SharesAccountDetailsStepComponent;
let fixture: ComponentFixture<SharesAccountDetailsStepComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SharesAccountDetailsStepComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SharesAccountDetailsStepComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharesAccountPreviewStepComponent } from './shares-account-preview-step.component';
describe('SharesAccountPreviewStepComponent', () => {
let component: SharesAccountPreviewStepComponent;
let fixture: ComponentFixture<SharesAccountPreviewStepComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SharesAccountPreviewStepComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SharesAccountPreviewStepComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharesAccountTermsStepComponent } from './shares-account-terms-step.component';
describe('SharesAccountTermsStepComponent', () => {
let component: SharesAccountTermsStepComponent;
let fixture: ComponentFixture<SharesAccountTermsStepComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SharesAccountTermsStepComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SharesAccountTermsStepComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ChargesTabComponent } from './charges-tab.component';
describe('ChargesTabComponent', () => {
let component: ChargesTabComponent;
let fixture: ComponentFixture<ChargesTabComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ChargesTabComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ChargesTabComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { DividendsTabComponent } from './dividends-tab.component';
describe('DividendsTabComponent', () => {
let component: DividendsTabComponent;
let fixture: ComponentFixture<DividendsTabComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [DividendsTabComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DividendsTabComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,22 +0,0 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { GeneralTabComponent } from './general-tab.component';
describe('GeneralTabComponent', () => {
let component: GeneralTabComponent;
let fixture: ComponentFixture<GeneralTabComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [GeneralTabComponent]
}).compileComponents();
fixture = TestBed.createComponent(GeneralTabComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -7,12 +7,12 @@
mifosx-shares-account-view {
.shares-account-card {
.header {
background-color: mat.get-color-from-palette($primary, 500);
background-color: mat.m2-get-color-from-palette($primary, 500);
}
.table-headers {
background-color: mat.get-color-from-palette($primary, 500);
color: mat.get-contrast-color-from-palette($primary, 500);
background-color: mat.m2-get-color-from-palette($primary, 500);
color: mat.m2-get-contrast-color-from-palette($primary, 500);
}
}
}
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharesAccountViewComponent } from './shares-account-view.component';
describe('SharesAccountViewComponent', () => {
let component: SharesAccountViewComponent;
let fixture: ComponentFixture<SharesAccountViewComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SharesAccountViewComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SharesAccountViewComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -1,24 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TransactionsTabComponent } from './transactions-tab.component';
describe('TransactionsTabComponent', () => {
let component: TransactionsTabComponent;
let fixture: ComponentFixture<TransactionsTabComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [TransactionsTabComponent]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(TransactionsTabComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
-12
View File
@@ -1,12 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { SharesService } from './shares.service';
describe('SharesService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: SharesService = TestBed.inject(SharesService);
expect(service).toBeTruthy();
});
});