console.log('wallet performance test')
-test('creating BIP-44 wallets', { skip: true }, async () => {
+test.skip('creating BIP-44 wallets', async () => {
const wallets = []
for (let i = 0x80; i > 0; i--) {
wallets.push(await Bip44Wallet.create(NANO_TEST_VECTORS.PASSWORD))
assert.equal(wallets.length, 0x80)
})
-test('creating BLAKE2b wallets', { skip: true }, async () => {
+test.skip('creating BLAKE2b wallets', async () => {
const wallets = []
for (let i = 0x80; i > 0; i--) {
wallets.push(await Blake2bWallet.create(NANO_TEST_VECTORS.PASSWORD))
await assert.rejects(Blake2bWallet.create())\r
})\r
\r
- test('connect to ledger', { skip: true }, async () => {\r
+ test.skip('connect to ledger', async () => {\r
const wallet = await LedgerWallet.create()\r
assert.ok(wallet)\r
})\r
})\r
})\r
\r
-describe('Ledger device accounts', { skip: true }, async () => {\r
+describe.skip('Ledger device accounts', async () => {\r
const wallet = await LedgerWallet.create()\r
\r
test('should fetch the first account from a Ledger device', async () => {\r
await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)
const node = new Rpc(process.env.NODE_URL ?? '', process.env.API_KEY_NAME)
-const skip = true
-
-describe('refreshing account info', { skip }, async () => {
+describe.skip('refreshing account info', async () => {
test('should fetch balance, frontier, and representative', async () => {
const accounts = await wallet.accounts()
const account = accounts[0]
})
})
-describe('finding next unopened account', { skip }, async () => {
+describe.skip('finding next unopened account', async () => {
test('should return correct account from test vector', async () => {
const account = await wallet.getNextNewAccount(node)
assert.ok(account)
})
})
-describe('refreshing wallet accounts', { skip }, async () => {
+describe.skip('refreshing wallet accounts', async () => {
test('should get balance, frontier, and representative for one account', async () => {
const accounts = await wallet.refresh(node)
const account = accounts[0]
import { RAW_MAX, NANO_TEST_VECTORS } from '#test/TEST_VECTORS.js'\r
import { Bip44Wallet, Account, SendBlock, Rpc, Tools } from '#dist/main.js'\r
\r
-const skip = true\r
-\r
const wallet = await Bip44Wallet.fromSeed(NANO_TEST_VECTORS.PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)\r
await wallet.unlock(NANO_TEST_VECTORS.PASSWORD)\r
const rpc = new Rpc(process.env.NODE_URL ?? '', process.env.API_KEY_NAME)\r
{ message: 'Missing required sweep arguments' })\r
})\r
\r
- test('fails gracefully for ineligible accounts', { skip }, async () => {\r
+ test.skip('fails gracefully for ineligible accounts', async () => {\r
const results = await Tools.sweep(rpc, wallet, NANO_TEST_VECTORS.ADDRESS_1)\r
assert.ok(results)\r
assert.equal(results.length, 1)\r