mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
add cleanup
This commit is contained in:
committed by
Tom Ratcliffe
parent
bf897c1255
commit
4e0e12bb07
@@ -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'} />, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user