fix(ci): resolve unit test error and netlify deploy config

- Fix ReferenceError in nostr-login-permissions.test.mjs
- Create missing _redirects file for Netlify SPA routing

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-29 08:39:41 +00:00
1 parent 3cd8dfd78d
commit 63d6026ae9
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
/* /index.html 200
+1 -1
View File
@@ -313,7 +313,7 @@ test("NIP-07 login falls back when structured permissions fail", async () => {
const pubkey = result.pubkey;
assert.equal(pubkey, HEX_PUBKEY);
assert.ok(env.enableCalls.length >= 2, "should retry with alternate payloads");
const [objectCall, stringCall] = env.enableCalls;
const [objectCall, stringCall, plainCall] = env.enableCalls;
assert.ok(Array.isArray(objectCall?.permissions));
assert.equal(
typeof objectCall.permissions[0],