-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sort order for facet values for Meilisearch v1.3 (#1536)
* Add sort order for facet values for Meilisearch v1.3 * Change type casting of the settings object in settings tests
- Loading branch information
Showing
5 changed files
with
875 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Test on faceting Admin key: Get default faceting object 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 100, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Admin key: Reset faceting 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 100, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Admin key: Update faceting at null 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 100, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Admin key: Update faceting settings 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 12, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
"test": "count", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Master key: Get default faceting object 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 100, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Master key: Reset faceting 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 100, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Master key: Update faceting at null 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 100, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Test on faceting Master key: Update faceting settings 1`] = ` | ||
Object { | ||
"maxValuesPerFacet": 12, | ||
"sortFacetValuesBy": Object { | ||
"*": "alpha", | ||
"test": "count", | ||
}, | ||
} | ||
`; |
Oops, something went wrong.