Skip to content

Commit

Permalink
[ACS-5601] Unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKinas committed Oct 3, 2023
1 parent 71661b4 commit bf00696
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import { AppExtensionService } from '@alfresco/aca-shared';
import { of } from 'rxjs';
import { ContentActionType } from '@alfresco/adf-extensions';
import { By } from '@angular/platform-browser';
import { INITIAL_APP_STATE } from '../../../store/initial-state';

describe('CustomNameColumnComponent', () => {
let fixture: ComponentFixture<CustomNameColumnComponent>;
Expand All @@ -40,7 +41,19 @@ describe('CustomNameColumnComponent', () => {

beforeEach(() => {
TestBed.configureTestingModule({
imports: [HttpClientModule, TranslateModule.forRoot(), CustomNameColumnComponent, StoreModule.forRoot({ app: () => {} }, { initialState: {} })],
imports: [
HttpClientModule,
TranslateModule.forRoot(),
CustomNameColumnComponent,
StoreModule.forRoot(
{ app: (state) => state },
{
initialState: {
app: INITIAL_APP_STATE
}
}
)
],
providers: [Actions]
});

Expand Down

0 comments on commit bf00696

Please sign in to comment.