mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
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:
1 parent
3cd8dfd78d
commit
63d6026ae9
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
/* /index.html 200
|
||||
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user