[AAE-0000] - migration to ng19 with standalone schematics

This commit is contained in:
VitoAlbano
2025-05-17 00:03:00 +01:00
parent 9c6a1901c6
commit 41a1948996
33 changed files with 7396 additions and 18364 deletions

View File

@@ -42,7 +42,8 @@ export class CustomContainerComponent {
@Component({
selector: 'adf-custom-empty-container',
template: `<adf-buttons-action-menu />`
template: `<adf-buttons-action-menu />`,
imports: [ButtonsMenuComponent]
})
export class CustomEmptyContainerComponent {}
@@ -95,8 +96,7 @@ describe('ButtonsMenuComponent', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [ButtonsMenuComponent],
declarations: [CustomEmptyContainerComponent]
imports: [ButtonsMenuComponent, CustomEmptyContainerComponent]
});
fixture = TestBed.createComponent(CustomEmptyContainerComponent);
element = fixture.nativeElement;

View File

@@ -22,7 +22,8 @@ import { DiagramTooltipComponent } from './diagram-tooltip.component';
@Component({
template: ` <div id="diagram-element-id">Hover me</div>
<diagram-tooltip [data]="data" />`
<diagram-tooltip [data]="data" />`,
imports: [DiagramTooltipComponent]
})
class TestHostComponent {
data = {
@@ -122,8 +123,7 @@ describe('DiagramTooltipComponent', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [DiagramTooltipComponent],
declarations: [TestHostComponent]
imports: [DiagramTooltipComponent, TestHostComponent]
});
fixture = TestBed.createComponent(TestHostComponent);
fixture.detectChanges();