Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(ais-hierarchical-menu): show full hierarchical parent values (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhayab authored Jun 17, 2022
1 parent 7696acc commit 51aadf0
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 218 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"release": "shipjs prepare"
},
"dependencies": {
"instantsearch.js": "^4.37.2",
"instantsearch.js": "^4.41.2",
"mitt": "^2.1.0"
},
"peerDependencies": {
Expand Down Expand Up @@ -81,7 +81,7 @@
"@wdio/spec-reporter": "^5.11.7",
"@wdio/static-server-service": "^5.11.0",
"algoliasearch": "4.0.1",
"algoliasearch-helper": "3.7.0",
"algoliasearch-helper": "3.8.3",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-preset-es2015": "6.24.1",
Expand Down Expand Up @@ -133,11 +133,11 @@
"bundlesize": [
{
"path": "./vue2/umd/index.js",
"maxSize": "56.00 kB"
"maxSize": "56.50 kB"
},
{
"path": "./vue3/umd/index.js",
"maxSize": "57.00 kB"
"maxSize": "57.75 kB"
},
{
"path": "./vue2/cjs/index.js",
Expand Down
5 changes: 3 additions & 2 deletions src/util/__tests__/createServerRootMixin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -933,8 +933,9 @@ Array [
hello: serialized,
});

// TODO: assert that this is expect.any(AlgoliaSearchHelper), but test fails
// even though it's an object with all the right properties (including constructor)
expect(instantsearch.mainIndex.getHelper()).toEqual(
expect.any(AlgoliaSearchHelper)
);
expect(instantsearch.mainIndex.getHelper()).not.toBeNull();
});

Expand Down
Loading

0 comments on commit 51aadf0

Please sign in to comment.