]> git.codecow.com Git - libnemo.git/commitdiff
Redestroy wallet at end of Ledger test to stop polling.
authorChris Duncan <chris@zoso.dev>
Tue, 23 Sep 2025 14:11:40 +0000 (07:11 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 23 Sep 2025 14:11:40 +0000 (07:11 -0700)
test/test.ledger.mjs

index ef550739f0a90a7282538154359a193dbb1dd6d6..9deeebd76549340affaf9b3910b1083ac3481a7f 100644 (file)
@@ -290,8 +290,9 @@ await Promise.all([
                                'Click to finish Ledger tests by destroying wallet',
                                async () => new Promise(r => setTimeout(r))
                        )
-                       await wallet.destroy()
+                       await assert.resolves(wallet.destroy())
                        await assert.rejects(wallet.unlock())
+                       await wallet.destroy()
                })
        })
 ])