mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 04:42:57 +00:00
fix(ci): address failures in lint, login permissions, and unit tests
- Update `scripts/check-hex.js` to ignore `releases/` directory to prevent false positives from PR numbers. - Update `js/nostr/client.js` to request full NIP-07 permissions (including encryption) during login, fixing `tests/nostr-login-permissions.test.mjs`. - Update `tests/hashtag-preferences.test.mjs` to make the mock fetch function consistently return the event, allowing retry logic to be tested correctly. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
0d37880443
commit
5fe938ef9f
3 files changed
+4
-5
No files matched your search
@@ -31,7 +31,8 @@ const IGNORED_GLOBS = [
|
||||
'tests/unit/embed-accent.test.mjs',
|
||||
'tests/visual/embed-layout.spec.ts',
|
||||
'ai/**',
|
||||
'**/*.ai'
|
||||
'**/*.ai',
|
||||
'releases/**'
|
||||
];
|
||||
|
||||
const gitArgs = [
|
||||
|
||||
Reference in new issue
Block a user