assert.equals(status, 'CONNECTED')
})
- // nonce signing is currently broken: https://github.com/LedgerHQ/app-nano/pull/14
- await test('sign a nonce', { skip: true }, async () => {
- // const nonce = new TextEncoder().encode('0123456789abcdef')
- // const {status, signature} = await click('Click to sign nonce', wallet.sign(0, nonce))
-
- // assert.equals(resultSignNonce.status, 'OK')
- // assert.OK(/[A-Fa-f0-9]{128}/.test(resultSignNonce.signature))
- })
-
await test('get first account', async () => {
account = await click(
'Click to get account',
await wallet.destroy()
})
+ // nonce signing is currently broken: https://github.com/LedgerHQ/app-nano/pull/14
+ await test('sign a nonce', { skip: true }, async () => {
+ // const nonce = new TextEncoder().encode('0123456789abcdef')
+ // const {status, signature} = await click('Click to sign nonce', wallet.sign(0, nonce))
+
+ // assert.equals(resultSignNonce.status, 'OK')
+ // assert.OK(/[A-Fa-f0-9]{128}/.test(resultSignNonce.signature))
+ })
+
await test('fail when using new', async () => {
assert.throws(() => new LedgerWallet())
})