[data.indexPatterns] Replace StubIndexPattern
with a more detailed jest mock
#78519
Labels
chore
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
In #78518 we relocated the
StubIndexPattern
from the legacytest_utils
to thedata
plugin.However, this is still pretty old code (using sinon), and ideally we should get rid of it altogether and replace it with a more detailed jest mock supplied as a part of the mock plugin contracts exported from
src/plugins/data/public/mocks
The text was updated successfully, but these errors were encountered: