Files
bitvid/tests
google-labs-jules[bot]andPR0M3TH3AN f825b84dfd fix(ci): Resolve unit test failures in nostr-login-permissions and hashtag-preferences
*   Updated `loginWithExtension` in `js/nostr/client.js` to request `DEFAULT_NIP07_PERMISSION_METHODS` (which includes encryption permissions) instead of `DEFAULT_NIP07_CORE_METHODS`. This fixes `tests/nostr-login-permissions.test.mjs` by ensuring the permission cache is correctly populated during login.
*   Updated the `fetchListIncrementally` mock in `tests/hashtag-preferences.test.mjs` to consistently return the event array on subsequent calls. This fixes the "load defers permission-required decrypts" test case by ensuring the second `load()` attempt actually receives data to process, triggering the decryption retry logic.
*   Retained artifacts from the TODO triage task (`artifacts/todos.txt` and `artifacts/issue_moderation_tests.md`) as part of the overall work unit.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-31 15:32:09 +00:00
..
2026-01-29 20:29:42 +00:00