Skip to content

[data.indexPatterns] Replace StubIndexPattern with a more detailed jest mock #78519

@lukeelmers

Description

@lukeelmers

In #78518 we relocated the StubIndexPattern from the legacy test_utils to the data 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

Metadata

Metadata

Assignees

Labels

Feature:Data ViewsData Views code and UI - index patterns before 8.0choreimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:mediumMedium Level of Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions