Make ScopedHistoryMock compatible with ScopedHistory #71166
Labels
enhancement
New value added to drive a business result
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Our
ScopedHistoryMock
mock type does not properly implementsScopedHistory
, forcing consumers to use workarounds to properly use it in tests.We should fix that, so that
const scopedHistory: ScopedHistory = scopedHistoryMock.create()
becomes a valid statement.See #70768 for example
The text was updated successfully, but these errors were encountered: