Added mock on unit tests
Signed-off-by: Jasper Boeijenga <jboeijenga@gmail.com>
This commit is contained in:
@@ -45,6 +45,9 @@ describe('TemplateListPage', () => {
|
||||
getEntityFacets: async () => ({
|
||||
facets: { 'spec.type': [{ value: 'service', count: 1 }] },
|
||||
}),
|
||||
getEntitiesByRefs: async () => ({
|
||||
items: [],
|
||||
}),
|
||||
};
|
||||
|
||||
it('should render the search bar for templates', async () => {
|
||||
|
||||
Reference in New Issue
Block a user