Added mock on unit tests

Signed-off-by: Jasper Boeijenga <jboeijenga@gmail.com>
This commit is contained in:
Jasper Boeijenga
2024-08-20 10:00:13 +02:00
parent ede5a5cec2
commit 114380c2b5
@@ -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 () => {