From 7d74b7e8dcf974c51969fe4344f2e59132a396a1 Mon Sep 17 00:00:00 2001 From: Blair Currey <12960453+BlairCurrey@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:21:26 -0400 Subject: [PATCH] test(backend): getAdditionalProperties resolver for null state --- .../backend/src/graphql/resolvers/wallet_address.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/graphql/resolvers/wallet_address.test.ts b/packages/backend/src/graphql/resolvers/wallet_address.test.ts index 1aa04c1690..e9dc06a008 100644 --- a/packages/backend/src/graphql/resolvers/wallet_address.test.ts +++ b/packages/backend/src/graphql/resolvers/wallet_address.test.ts @@ -307,6 +307,11 @@ describe('Wallet Address Resolvers', (): void => { id status publicName + additionalProperties { + key + value + visibleInOpenPayments + } } } } @@ -327,7 +332,8 @@ describe('Wallet Address Resolvers', (): void => { expect(response.code).toEqual('200') expect(response.walletAddress).toEqual({ __typename: 'WalletAddress', - ...updateOptions + ...updateOptions, + additionalProperties: [] }) const updatedWalletAddress = await walletAddressService.get(