adjust expected value in nip11 test.

This commit is contained in:
fiatjaf 2024-02-17 18:19:09 -03:00
parent 54b55b98f1
commit 280d483ef4
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ describe('requesting relay as for NIP11', () => {
test('testing a relay', async () => { test('testing a relay', async () => {
const info = await fetchRelayInformation('wss://atlas.nostr.land') const info = await fetchRelayInformation('wss://atlas.nostr.land')
expect(info.name).toEqual('nostr.land') expect(info.name).toEqual('nostr.land')
expect(info.description).toEqual('nostr.land family of relays (us-or-01)') expect(info.description).toContain('nostr.land family')
expect(info.fees).toBeTruthy() expect(info.fees).toBeTruthy()
expect(info.supported_nips).toEqual([1, 2, 4, 9, 11, 12, 16, 20, 22, 28, 33, 40]) expect(info.supported_nips).toEqual([1, 2, 4, 9, 11, 12, 16, 20, 22, 28, 33, 40])
expect(info.software).toEqual('custom') expect(info.software).toEqual('custom')