feat: new theme (computers)

This commit is contained in:
gauvainboiche
2026-10-08 13:26:08 +02:00
parent cd6d38899c
commit 1caa4d92b9
5 changed files with 130 additions and 1 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);
for (const id of ['paperclip', 'witch', 'alien', 'insects']) assert.ok(ids.includes(id), id);
for (const id of ['paperclip', 'witch', 'alien', 'insects', 'computers']) assert.ok(ids.includes(id), id);
assert.deepEqual(themes.find((t) => t.id === 'paperclip').locales, ['en', 'fr']);
});