Fix profile-modal-controller test mock

- Update `tests/profile-modal-controller.test.mjs` to include a mock for `hashtagPreferences.load`.
- Fixes `TypeError: this.hashtagPreferencesService.load is not a function` in unit tests.
- Ensures all tests pass locally.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-30 06:45:47 +00:00
1 parent a6bf25f9fc
commit 7d325e49db
1 file changed
+1
+1
View File
@@ -274,6 +274,7 @@ function createController(options = {}) {
return hashtagStore.disinterests.delete(normalized);
},
publish: async () => ({ ok: true }),
load: async () => {},
on: () => () => {},
};