run prettier on tests.

This commit is contained in:
fiatjaf
2023-05-07 21:18:12 -03:00
parent 03cc18d53b
commit 5d92be05bb
3 changed files with 59 additions and 93 deletions

View File

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