]> git.codecow.com Git - libnemo.git/commitdiff
Include account refresh in testing.
authorChris Duncan <chris@zoso.dev>
Thu, 21 Aug 2025 21:42:55 +0000 (14:42 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 21 Aug 2025 21:42:55 +0000 (14:42 -0700)
test/test.refresh-accounts.mjs

index 8d3f33bdc496e99c645adc319fd7bed1de056820..af7b78e61893ba11c31193c18b83c79a51cc529f 100644 (file)
@@ -27,7 +27,7 @@ if (isNode) {
 const rpc = new Rpc(env.NODE_URL ?? '', env.API_KEY_NAME)
 
 await Promise.all([
-       suite('Refreshing account info', { skip: true }, async () => {
+       suite('Refreshing account info', { skip: false }, async () => {
 
                await test('fetch balance, frontier, and representative', async () => {
                        const wallet = await Wallet.load('BIP-44', NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)
@@ -89,7 +89,7 @@ await Promise.all([
                })
        }),
 
-       suite('Fetch next unopened account', { skip: true }, async () => {
+       suite('Fetch next unopened account', { skip: false }, async () => {
 
                await test('return correct account from test vector', async () => {
                        const wallet = await Wallet.load('BIP-44', NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)
@@ -163,7 +163,7 @@ await Promise.all([
                })
        }),
 
-       suite('Refreshing wallet accounts', { skip: true }, async () => {
+       suite('Refreshing wallet accounts', { skip: false }, async () => {
 
                await test('get balance, frontier, and representative for one account', async () => {
                        const wallet = await Wallet.load('BIP-44', NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)