test(frontend): cover embeddings and recipes managers

This commit is contained in:
pixelpaws
2025-09-24 20:15:38 +08:00
parent 3ad8d8b17c
commit d7a75ea4e5
5 changed files with 343 additions and 5 deletions

View File

@@ -23,3 +23,27 @@ export function renderCheckpointsPage() {
},
});
}
/**
* Renders the Embeddings page template with expected dataset attributes.
* @returns {Element}
*/
export function renderEmbeddingsPage() {
return renderTemplate('embeddings.html', {
dataset: {
page: 'embeddings',
},
});
}
/**
* Renders the Recipes page template with expected dataset attributes.
* @returns {Element}
*/
export function renderRecipesPage() {
return renderTemplate('recipes.html', {
dataset: {
page: 'recipes',
},
});
}