test: update test to match AccountInfo userdata refactor

This commit is contained in:
Michael Vines 2018-09-29 08:48:29 -07:00
parent a2955a2a2e
commit 70fb01ddd6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});