feat: new theme (computers)
This commit is contained in:
@@ -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']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user