Skip to content

Commit

Permalink
test(searchbox): remove needless snapshot (#4005)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv authored and samouss committed Sep 17, 2019
1 parent a1a632d commit fd78e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.

This file was deleted.

4 changes: 3 additions & 1 deletion src/connectors/search-box/__tests__/connectSearchBox-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/search-box/
searchParameters: helper.state,
helper,
});
expect(uiStateAfter).toMatchSnapshot();
expect(uiStateAfter).toEqual({
query: 'some query',
});
});

test('should give back the same instance if the value is alreay in the uiState', () => {
Expand Down

0 comments on commit fd78e03

Please sign in to comment.