Skip to content

Commit

Permalink
feat(platform): table filter enhancement
Browse files Browse the repository at this point in the history
closes [#11783](#11783)

## Description

fix table component host spec test
  • Loading branch information
khotcholava committed Nov 29, 2024
1 parent 34e1581 commit 5c3ed1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/platform/table-helpers/services/table.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('TableServiceService', () => {
const setTableStateSpy = jest.spyOn(service, 'setTableState');
const filterChangeSpy = jest.spyOn(service.filterChange$, 'next');
const newFilterBy: CollectionStringFilter[] = [
{ field: 'name', value: 'Product name', strategy: FILTER_STRING_STRATEGY.CONTAINS }
{ field: 'name', value: 'Product name', fieldName: 'name', strategy: FILTER_STRING_STRATEGY.CONTAINS }
];
const newState: TableState = { ...DEFAULT_TABLE_STATE, filterBy: newFilterBy };
const event: FilterChange = { current: newFilterBy, previous: DEFAULT_TABLE_STATE.filterBy };
Expand Down

0 comments on commit 5c3ed1f

Please sign in to comment.