mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 01:11:36 +03:00
chore(web): use development lang for tests (#10025)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import messages from '$lib/i18n/en.json';
|
||||
import { exec as execCallback } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
import { init } from 'svelte-i18n';
|
||||
|
||||
type Messages = { [key: string]: string | Messages };
|
||||
|
||||
@@ -23,8 +22,6 @@ function setEmptyMessages(messages: Messages) {
|
||||
}
|
||||
|
||||
describe('i18n', () => {
|
||||
beforeEach(() => init({ fallbackLocale: 'dev' }));
|
||||
|
||||
test('no missing messages', async () => {
|
||||
const { stdout } = await exec('npx svelte-i18n extract -c svelte.config.js "src/**/*"');
|
||||
const extractedMessages: Messages = JSON.parse(stdout);
|
||||
|
||||
Reference in New Issue
Block a user