fix(test): mock hashtagPreferencesService.load in profile modal tests

- Updates `tests/profile-modal-controller.test.mjs` to include a mock for `load()` in `baseHashtagPreferences`.
- Resolves the `TypeError: this.hashtagPreferencesService.load is not a function` error seen in CI.
- Ensures unit tests pass for ProfileModalController interactions with the hashtag pane.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-30 00:27:28 +00:00
1 parent b594a87ef2
commit 2ba9b6c4a5
1 file changed
+1
+1
View File
@@ -275,6 +275,7 @@ function createController(options = {}) {
},
publish: async () => ({ ok: true }),
on: () => () => {},
load: async () => {},
};
const hashtagPreferences = {