Lint tests

This commit is contained in:
Michael Vines
2018-08-23 11:00:36 -07:00
parent 96f8a8620d
commit 79ab826678
3 changed files with 11 additions and 5 deletions

View File

@ -3,8 +3,8 @@ import {Account} from '../src/account';
test('generate new account', () => {
const account = new Account();
const len = account.publicKey.length;
expect(len === 43 || len === 44);
expect(account.publicKey.length).toBeGreaterThanOrEqual(43);
expect(account.publicKey.length).toBeLessThanOrEqual(44);
expect(account.secretKey).toHaveLength(64);
});