fix tests

This commit is contained in:
tiero
2023-01-03 17:03:56 +01:00
parent 0470afbdf6
commit 71964211ee
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ dist
example/.cache/ example/.cache/
example/.parcel-cache/ example/.parcel-cache/
/relay-data/ /relay-data/
/coverage/

View File

@@ -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);
}); });
}); });