mirror of
https://github.com/nostr-connect/connect.git
synced 2025-12-17 05:04:20 +01:00
fix tests
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ dist
|
|||||||
example/.cache/
|
example/.cache/
|
||||||
example/.parcel-cache/
|
example/.parcel-cache/
|
||||||
/relay-data/
|
/relay-data/
|
||||||
|
/coverage/
|
||||||
@@ -22,7 +22,7 @@ class MobileHandler extends NostrRPC {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
describe.skip('Nostr Connect', () => {
|
describe('Nostr Connect', () => {
|
||||||
it('connect', async () => {
|
it('connect', async () => {
|
||||||
const testHandler = jest.fn();
|
const testHandler = jest.fn();
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ describe.skip('Nostr Connect', () => {
|
|||||||
|
|
||||||
// send the get_public_key message to the mobile app from the web
|
// send the get_public_key message to the mobile app from the web
|
||||||
const pubkey = await connect.getPublicKey();
|
const pubkey = await connect.getPublicKey();
|
||||||
expect(pubkey).toBe(webPK);
|
expect(pubkey).toBe(mobilePK);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user