fix: remove instanceof checks
This commit is contained in:
committed by
Michael Vines
parent
31ea69f278
commit
d0f4b24481
@ -1,10 +1,8 @@
|
||||
// @flow
|
||||
import {Account} from '../src/account';
|
||||
import {PublicKey} from '../src/publickey';
|
||||
|
||||
test('generate new account', () => {
|
||||
const account = new Account();
|
||||
expect(PublicKey.isPublicKey(account.publicKey)).toBeTruthy();
|
||||
expect(account.secretKey).toHaveLength(64);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user