From e997a38080c9d3054a37e3409a11656b06aa885c Mon Sep 17 00:00:00 2001 From: Christoffer Date: Sat, 19 Feb 2022 02:40:12 +0900 Subject: [PATCH] tweak value assignment as per suggestion Co-authored-by: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> --- .../__tests__/category/wallet/listWallets.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/jellyfish-api-core/__tests__/category/wallet/listWallets.test.ts b/packages/jellyfish-api-core/__tests__/category/wallet/listWallets.test.ts index af8e52e27e..f1931fe796 100644 --- a/packages/jellyfish-api-core/__tests__/category/wallet/listWallets.test.ts +++ b/packages/jellyfish-api-core/__tests__/category/wallet/listWallets.test.ts @@ -16,7 +16,8 @@ describe('Wallet without masternode', () => { }) it('should listWallets', async () => { - await expect(client.wallet.listWallets()).resolves.toEqual(['', 'test']) + const wallets = await client.wallet.listWallets() + expect(wallets).toStrictEqual(['', 'test']) }) })