await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)\r
\r
assert.ok('id' in wallet)\r
+ assert.ok(/[A-Fa-f0-9]{32,64}/.test(wallet.id))\r
assert.ok('mnemonic' in wallet)\r
+ assert.ok(/^(?:[a-z]{3,} ){11,23}[a-z]{3,}$/.test(wallet.mnemonic))\r
assert.ok('seed' in wallet)\r
+ assert.ok(/[A-Fa-f0-9]{32,64}/.test(wallet.seed))\r
})\r
\r
it('BLAKE2b wallet with random entropy', async () => {\r
await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)\r
\r
assert.ok('id' in wallet)\r
+ assert.ok(/[A-Fa-f0-9]{32,64}/.test(wallet.id))\r
assert.ok('mnemonic' in wallet)\r
+ assert.ok(/^(?:[a-z]{3,} ){11,23}[a-z]{3,}$/.test(wallet.mnemonic))\r
assert.ok('seed' in wallet)\r
+ assert.ok(/[A-Fa-f0-9]{32,64}/.test(wallet.seed))\r
})\r
\r
it('BIP-44 replace invalid salt with empty string', async () => {\r