Angular 18 upgrade

This commit is contained in:
DominikIwanek
2025-03-17 08:35:12 +01:00
parent 0553213fd1
commit eb1da4f424
8 changed files with 29 additions and 37 deletions

View File

@@ -32,7 +32,7 @@ import { NodeEntry } from '@alfresco/js-api';
import { of } from 'rxjs';
import { By } from '@angular/platform-browser';
import { ContentActionType } from '@alfresco/adf-extensions';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { HttpClientModule } from '@angular/common/http';
import { StoreModule } from '@ngrx/store';
const mockNode = {
@@ -59,6 +59,7 @@ describe('DatatableCellBadgesComponent', () => {
imports: [
TranslateModule.forRoot(),
AuthModule.forRoot(),
HttpClientModule,
StoreModule.forRoot(
{ app: (state) => state },
{
@@ -75,7 +76,7 @@ describe('DatatableCellBadgesComponent', () => {
}
)
],
providers: [Actions, provideHttpClient(withInterceptorsFromDi())]
providers: [Actions]
});
fixture = TestBed.createComponent(DatatableCellBadgesComponent);