diff --git a/packages/jsapi-components/src/usePickerWithSelectedValues.test.ts b/packages/jsapi-components/src/usePickerWithSelectedValues.test.ts index 48e76f6754..e4400b6a4e 100644 --- a/packages/jsapi-components/src/usePickerWithSelectedValues.test.ts +++ b/packages/jsapi-components/src/usePickerWithSelectedValues.test.ts @@ -67,6 +67,7 @@ const mock = { searchTextFilter: jest.fn() as FilterConditionFactory, selectedKey: 'mock.selectedKey', excludeSelectedValuesFilter: jest.fn() as FilterConditionFactory, + timeZone: 'mock.timeZone', value: 'mock.value', viewportData: createMockProxy>>(), }; @@ -171,7 +172,8 @@ it.each([undefined, false, true])( expect(createSearchTextFilter).toHaveBeenCalledWith( tableUtils, mock.columnName, - '' + '', + mock.timeZone ); expect(createSelectedValuesFilter).toHaveBeenCalledWith( @@ -247,7 +249,8 @@ it.each([undefined, false, true])( expect(createSearchTextFilter).toHaveBeenCalledWith( tableUtils, mock.columnName, - trimSearchText === true ? mock.searchTextTrimmed : mock.searchText + trimSearchText === true ? mock.searchTextTrimmed : mock.searchText, + mock.timeZone ); expect(createSelectedValuesFilter).not.toHaveBeenCalled();