diff --git a/test.ts b/test.ts index 2cfb382..5349bc3 100644 --- a/test.ts +++ b/test.ts @@ -244,9 +244,9 @@ Deno.test("NIP-11: Relay Information Document", async (t) => { const json = await queryGql(relay, query); assertEquals(json.data.relayInformation, { name: "Nostr Relay2", - icon: null, - contact: null, - description: null, + icon: undefined, + contact: undefined, + description: undefined, pubkey: test_ctx.publicKey, ...not_modifiable_information, }); @@ -260,9 +260,9 @@ Deno.test("NIP-11: Relay Information Document", async (t) => { const json = await queryGql(relay, query, variables); assertEquals(json.data.set_relay_information, { name: "Nostr Relay3", - icon: null, - contact: null, - description: null, + icon: undefined, + contact: undefined, + description: undefined, pubkey: test_ctx.publicKey, ...not_modifiable_information, });