mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-14 19:08:50 +00:00
run prettier on tests.
This commit is contained in:
@@ -102,7 +102,7 @@ test('decode naddr from go-nostr with different TLV ordering', () => {
|
||||
})
|
||||
|
||||
test('encode and decode nrelay', () => {
|
||||
let url = "wss://relay.nostr.example"
|
||||
let url = 'wss://relay.nostr.example'
|
||||
let nrelay = nip19.nrelayEncode(url)
|
||||
expect(nrelay).toMatch(/nrelay1\w+/)
|
||||
let {type, data} = nip19.decode(nrelay)
|
||||
|
||||
Reference in New Issue
Block a user