Skip to content

Commit

Permalink
fixed UT
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
  • Loading branch information
amsiglan committed May 20, 2024
1 parent 24f00ee commit 88e7751
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ import { Provider } from 'react-redux';
import { applyMiddleware, createStore } from '@reduxjs/toolkit';
import { rootReducer } from '../../../framework/redux/reducers';
import thunk from 'redux-thunk';
import { setRenderLogExplorerTablesFlyout } from '../../../plugin';

describe('No result component', () => {
configure({ adapter: new Adapter() });

it('Renders No result component', async () => {
const store = createStore(rootReducer, applyMiddleware(thunk));

setRenderLogExplorerTablesFlyout(jest.fn());
const wrapper = mount(
<Provider store={store}>
<NoResults tabId={initialTabId} />
Expand Down

0 comments on commit 88e7751

Please sign in to comment.