mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Work on unskipping test (#86370)
* test unskip * Mock getDataSourceSrv seperately * mock the hook instead * Remove TODO
This commit is contained in:
parent
f9af4675ad
commit
2338cad563
@ -68,6 +68,10 @@ jest.mock('app/core/services/PreferencesService', () => ({
|
||||
},
|
||||
}));
|
||||
|
||||
jest.mock('../hooks/useExplorePageTitle', () => ({
|
||||
useExplorePageTitle: jest.fn(),
|
||||
}));
|
||||
|
||||
jest.mock('react-virtualized-auto-sizer', () => {
|
||||
return {
|
||||
__esModule: true,
|
||||
@ -119,8 +123,7 @@ describe('Explore: Query History', () => {
|
||||
});
|
||||
});
|
||||
|
||||
// TODO: #86287
|
||||
it.skip('adds recently added query if the query history panel is already open', async () => {
|
||||
it('adds recently added query if the query history panel is already open', async () => {
|
||||
const urlParams = {
|
||||
left: serializeStateToUrlParam({
|
||||
datasource: 'loki',
|
||||
|
Loading…
Reference in New Issue
Block a user