mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
TST
This commit is contained in:
parent
ba96c8dec1
commit
6dea72553f
1 changed files with 6 additions and 1 deletions
|
@ -160,8 +160,13 @@ it('can work with malformed mnemonic', () => {
|
|||
});
|
||||
|
||||
it('can create a Legacy HD (BIP44)', async function() {
|
||||
if (!process.env.HD_MNEMONIC_BREAD) {
|
||||
console.error('process.env.HD_MNEMONIC_BREAD not set, skipped');
|
||||
return;
|
||||
}
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30 * 1000;
|
||||
let mnemonic = 'high relief amount witness try remember adult destroy puppy fox giant peace';
|
||||
let mnemonic = process.env.HD_MNEMONIC_BREAD;
|
||||
let hd = new HDLegacyP2PKHWallet();
|
||||
hd.setSecret(mnemonic);
|
||||
assert.equal(hd.validateMnemonic(), true);
|
||||
|
|
Loading…
Add table
Reference in a new issue