Make codecov happy

This commit is contained in:
shamoon 2023-12-14 11:26:01 -08:00
parent 0f5b902da8
commit 07ee42ee87

View File

@ -1700,4 +1700,13 @@ describe('FilterEditorComponent', () => {
)
expect(component.textFilter).toEqual('')
})
it('should adjust text filter targets if more like search', () => {
const TEXT_FILTER_TARGET_FULLTEXT_MORELIKE = 'fulltext-morelike' // private const
component.textFilterTarget = TEXT_FILTER_TARGET_FULLTEXT_MORELIKE
expect(component.textFilterTargets).toContainEqual({
id: TEXT_FILTER_TARGET_FULLTEXT_MORELIKE,
name: $localize`More like`,
})
})
})