Internationalization
Sonarqube Scanner / Prepare environment (push) Successful in 20s
Sonarqube Scanner / Build and test (push) Failing after 36s
Sonarqube Scanner / SonarQube analysis (push) Skipped
Sonarqube Scanner / Deploy to Server (push) Successful in 9s

This commit is contained in:
Florian Zumpe
2026-10-01 09:41:01 +02:00
parent 607e5450e1
commit aff88eba1b
41 changed files with 1368 additions and 636 deletions
+7
View File
@@ -1,3 +1,4 @@
import { loadI18n } from '../test-support/i18n.js';
import assert from 'node:assert/strict';
import fs from 'node:fs/promises';
import path from 'node:path';
@@ -17,6 +18,8 @@ test('legacy vibration patterns are exposed as immutable constants', async () =>
Wegwichtel: {}
};
await loadI18n(context);
vm.runInNewContext(await source(), context);
const vibration = context.Wegwichtel.Vibration;
@@ -37,6 +40,8 @@ test('vibration wrapper starts named patterns and can cancel them', async () =>
Wegwichtel: {}
};
await loadI18n(context);
vm.runInNewContext(await source(), context);
const vibration = context.Wegwichtel.Vibration;
@@ -54,6 +59,8 @@ test('vibration wrapper fails harmlessly when the browser API is unavailable', a
Wegwichtel: {}
};
await loadI18n(context);
vm.runInNewContext(await source(), context);
const vibration = context.Wegwichtel.Vibration;