Skip to content

Commit

Permalink
fix flaky test (elastic#125256)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Feb 10, 2022
1 parent 2c7d96b commit 31328ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe('Initializing the store', () => {
it('starts new searchSessionId', async () => {
const { store } = await makeLensStore({ preloadedState });
await act(async () => {
await store.dispatch(loadInitial(defaultProps));
await store.dispatch(loadInitial({ ...defaultProps, initialInput: undefined }));
});
expect(store.getState()).toEqual({
lens: expect.objectContaining({
Expand Down

0 comments on commit 31328ff

Please sign in to comment.