aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-13 15:39:49 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-13 15:39:49 +0200
commitaf542a40aec6ffe0ac06798d99abd00a24eb9c50 (patch)
tree8d1f38450c7c12570579446689ed4e9b95d025d4 /packages/meshbay-hub
parentefbcff05721e71f1fdfcc30b7ee1b44ca1670762 (diff)
downloadmeshbay-af542a40aec6ffe0ac06798d99abd00a24eb9c50.tar.gz
test(hub): pin the Android Sync probe to EnglishHEADmain
The probe followed the browser's language, so its assertions on English labels failed on a machine set to French. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub')
-rw-r--r--packages/meshbay-hub/tests/harness/photo_sync_probe.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/harness/photo_sync_probe.py b/packages/meshbay-hub/tests/harness/photo_sync_probe.py
index 3fcce8a..122103a 100644
--- a/packages/meshbay-hub/tests/harness/photo_sync_probe.py
+++ b/packages/meshbay-hub/tests/harness/photo_sync_probe.py
@@ -143,9 +143,11 @@ window.meshbay = {
<main class="main"><div id=root></div></main>
<script type=module>
import { html, render } from './vendor/htm-preact.js';
-import { initLocale } from './i18n.js';
+import { initLocale, setLocale } from './i18n.js';
import { startPhotoSync } from './photo-sync.js';
import { AndroidSyncPage } from './android-sync-page.js';
+// English, whatever the machine running this is set to.
+setLocale('en');
await initLocale();
startPhotoSync({
hub: '', getUser: () => ({ username: 'bob', userId: 'u-bob', token: 't' }),