From: Chris Duncan Date: Wed, 9 Jul 2025 18:01:45 +0000 (-0700) Subject: Add Ledger nano app version test. X-Git-Tag: v0.10.5~77 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=20e3f3c82281d78453ccefac051045c67aa28b9d;p=libnemo.git Add Ledger nano app version test. --- diff --git a/test/test.ledger.mjs b/test/test.ledger.mjs index d3e742f..67e4519 100644 --- a/test/test.ledger.mjs +++ b/test/test.ledger.mjs @@ -24,6 +24,17 @@ await suite('Ledger hardware wallet', { skip: false || isNode }, async () => { assert.equals(status, 'CONNECTED') }) + await test('get version', async () => { + const { status, name, version } = await click( + 'Click to get version', + async () => wallet.version() + ) + + assert.equals(status, 'OK') + assert.equals(name, 'Nano') + assert.equals(version, '1.2.6') + }) + await test('get first account', async () => { account = await click( 'Click to get account',