From 70fb01ddd62175490617041ac79a1b2d8505f579 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sat, 29 Sep 2018 08:48:29 -0700 Subject: [PATCH] test: update test to match AccountInfo userdata refactor --- web3.js/test/connection.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/test/connection.test.js b/web3.js/test/connection.test.js index 42c4295fd6..8389159e81 100644 --- a/web3.js/test/connection.test.js +++ b/web3.js/test/connection.test.js @@ -232,7 +232,7 @@ test('request airdrop', async () => { const accountInfo = await connection.getAccountInfo(account.publicKey); expect(accountInfo.tokens).toBe(42); - expect(accountInfo.userdata).toBe(null); + expect(accountInfo.userdata).toHaveLength(0); expect(accountInfo.programId).toBe(SystemProgram.programId); });