]> git.codecow.com Git - libnemo.git/commitdiff
Specify strict equality in timeout test.
authorChris Duncan <chris@zoso.dev>
Tue, 23 Sep 2025 17:55:20 +0000 (10:55 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 23 Sep 2025 17:55:20 +0000 (10:55 -0700)
test/test.lock-unlock.mjs

index 7f99844fe5fbd5a65d7e48ff5ce7254381394d29..f87f88f31beea8f9f1d5f99eab9f1fe778197930 100644 (file)
@@ -151,8 +151,8 @@ await Promise.all([
                                setTimeout(async () => {\r
                                        // should still be unlocked from account() reset and not initial unlock\r
                                        assert.equal(wallet.isLocked, false)\r
-                                       assert.ok(await wallet.verify(NANO_TEST_VECTORS.MNEMONIC))\r
-                                       assert.ok(await wallet.verify(NANO_TEST_VECTORS.BIP39_SEED))\r
+                                       assert.equal(await wallet.verify(NANO_TEST_VECTORS.MNEMONIC), true)\r
+                                       assert.equal(await wallet.verify(NANO_TEST_VECTORS.BIP39_SEED), true)\r
                                        resolve(null)\r
                                }, 60000)\r
                        })\r