-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
269 additions
and
16 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
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,205 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Test on POST search Admin key: basic facet value search 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "adventure", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Admin key: facet value search with filter 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Admin key: facet value search with no facet query 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "adventure", | ||
}, | ||
Object { | ||
"count": 1, | ||
"value": "comedy", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "romance", | ||
}, | ||
], | ||
"facetQuery": null, | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Admin key: facet value search with search query 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "adventure", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Master key: basic facet value search 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "adventure", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Master key: facet value search with filter 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Master key: facet value search with no facet query 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "adventure", | ||
}, | ||
Object { | ||
"count": 1, | ||
"value": "comedy", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "romance", | ||
}, | ||
], | ||
"facetQuery": null, | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Master key: facet value search with search query 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "adventure", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Search key: basic facet value search 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "adventure", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Search key: facet value search with filter 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Search key: facet value search with no facet query 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "action", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "adventure", | ||
}, | ||
Object { | ||
"count": 1, | ||
"value": "comedy", | ||
}, | ||
Object { | ||
"count": 2, | ||
"value": "romance", | ||
}, | ||
], | ||
"facetQuery": null, | ||
"processingTimeMs": 0, | ||
} | ||
`; | ||
|
||
exports[`Test on POST search Search key: facet value search with search query 1`] = ` | ||
Object { | ||
"facetHits": Array [ | ||
Object { | ||
"count": 1, | ||
"value": "adventure", | ||
}, | ||
], | ||
"facetQuery": "a", | ||
"processingTimeMs": 0, | ||
} | ||
`; |
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
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