mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
feat: tests
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import {SCSearchResponse} from '../../src/index.js';
|
||||
import {dishWithTranslation} from './dish-with-translation.js';
|
||||
|
||||
export const dishWithTranslationSearchResponse: SCSearchResponse = {
|
||||
data: [dishWithTranslation],
|
||||
facets: [
|
||||
{
|
||||
buckets: [
|
||||
{
|
||||
count: 1,
|
||||
key: 'key',
|
||||
},
|
||||
],
|
||||
field: 'field',
|
||||
},
|
||||
],
|
||||
pagination: {
|
||||
count: 1,
|
||||
offset: 0,
|
||||
total: 1,
|
||||
},
|
||||
stats: {
|
||||
time: 1,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user