add cleanup

pull/86413/head
Kristina Durivage 1 year ago committed by Tom Ratcliffe
parent bf897c1255
commit 4e0e12bb07
  1. 4
      public/app/features/explore/extensions/AddToDashboard/index.test.tsx

@ -65,6 +65,10 @@ describe('AddToDashboardButton', () => {
jest.spyOn(backendSrv, 'search').mockResolvedValue([]);
});
afterEach(() => {
jest.clearAllMocks();
});
it('Is disabled if explore pane has no queries', async () => {
setup(<AddToDashboard exploreId={'left'} />, []);

Loading…
Cancel
Save