From: Chris Duncan Date: Sat, 20 Sep 2025 06:35:39 +0000 (-0700) Subject: Fix test order. X-Git-Tag: v0.10.5~12^2~35 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=178535a9fcd13d0cf694aacd6e21a71014c8fa1a;p=libnemo.git Fix test order. --- diff --git a/test/test.ledger.mjs b/test/test.ledger.mjs index a339912..30128a1 100644 --- a/test/test.ledger.mjs +++ b/test/test.ledger.mjs @@ -312,11 +312,11 @@ await Promise.all([ }) await test('destroy wallet', async () => { - await wallet.destroy() await click( 'Click to finish Ledger tests by destroying wallet', async () => new Promise(r => setTimeout(r)) ) + await wallet.destroy() await assert.rejects(wallet.unlock()) }) })