From d48cca1a666ce441d60c128bcef74f2e831c4cc5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 30 Jan 2026 14:09:20 +0000 Subject: [PATCH] fix(ci): resolve unit test failures in batch fetch and profile modal - Mock `readRelays` in `tests/app-batch-fetch-profiles.test.mjs` to correctly reflect `profileMetadataService` prioritization logic, ensuring relay query count assertions match actual execution (2 queries instead of 4). - Add missing `load` mock to `hashtagPreferences` in `tests/profile-modal-controller.test.mjs` to prevent `TypeError` during `handleAddHashtagPreference` test. - Verified all unit tests pass with `npm run test:unit`. - Reverted risky dependency moves in `package.json` to maintain project structure. - Build process verified locally; addressing test failures is the primary fix for the reported CI errors. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com>