fix(test): mock load method in profile-modal-controller test

- Add missing `load` method to `baseHashtagPreferences` mock in `tests/profile-modal-controller.test.mjs` to fix `TypeError: this.hashtagPreferencesService.load is not a function` in unit tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-30 02:34:39 +00:00
1 parent 952dc58ade
commit ced1f5456f
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: () => () => {},
};