test(frontend): add loras page manager suite

This commit is contained in:
pixelpaws
2025-09-24 16:22:17 +08:00
parent cc5301e710
commit f0672beb46
5 changed files with 157 additions and 14 deletions

View File

@@ -0,0 +1,25 @@
import { renderTemplate } from './domFixtures.js';
/**
* Renders the LoRAs page template with expected dataset attributes.
* @returns {Element}
*/
export function renderLorasPage() {
return renderTemplate('loras.html', {
dataset: {
page: 'loras',
},
});
}
/**
* Renders the Checkpoints page template with expected dataset attributes.
* @returns {Element}
*/
export function renderCheckpointsPage() {
return renderTemplate('checkpoints.html', {
dataset: {
page: 'checkpoints',
},
});
}