feat: New theme + wire price adjustement

This commit is contained in:
gauvainboiche
2026-10-08 12:25:45 +02:00
parent aa9721ac2a
commit 1734487f1e
19 changed files with 348 additions and 88 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ test('resolveSafe stays inside the public directory', () => {
test('/api/themes lists installed themes with their languages', async () => {
const themes = await handleApi(PUBLIC_DIR, '/api/themes');
const ids = themes.map((t) => t.id);
assert.ok(ids.includes('paperclip') && ids.includes('witch') && ids.includes('alien'));
for (const id of ['paperclip', 'witch', 'alien', 'insects']) assert.ok(ids.includes(id), id);
assert.deepEqual(themes.find((t) => t.id === 'paperclip').locales, ['en', 'fr']);
});