● Add comprehensive test coverage for wallet modules
- Add tests for wallet-store.js (40 tests: MemoryStorage, WalletOutput, WalletTransaction) - Add tests for wallet-sync.js (25 tests: sync engine, events, progress tracking) - Add tests for query.js (45 tests: OutputQuery, TxQuery, TransferQuery, presets) - Add tests for connection-manager.js (29 tests: ConnectionInfo, failover, events) - Add tests for offline.js (29 tests: unsigned/signed tx, key images, output export) - Add tests for multisig.js (39 tests: KEX, signers, accounts, tx sets) - Add tests for persistent-wallet.js (27 tests: lifecycle, balance, outputs, sync) - Update test/all.js to include new test suites - Rename SYNC_UNLOCK_BLOCKS to avoid export conflict with wallet.js
This commit is contained in:
@@ -40,6 +40,13 @@ const tests = [
|
||||
{ name: 'Transaction Builder Tests', file: 'transaction-builder.test.js' },
|
||||
{ name: 'Wallet Class Tests', file: 'wallet-class.test.js' },
|
||||
{ name: 'Transaction Parser Tests', file: 'transaction-parser.test.js' },
|
||||
{ name: 'Wallet Storage Tests', file: 'wallet-store.test.js' },
|
||||
{ name: 'Wallet Sync Tests', file: 'wallet-sync.test.js' },
|
||||
{ name: 'Query System Tests', file: 'query.test.js' },
|
||||
{ name: 'Connection Manager Tests', file: 'connection-manager.test.js' },
|
||||
{ name: 'Offline Signing Tests', file: 'offline.test.js' },
|
||||
{ name: 'Multisig Tests', file: 'multisig.test.js' },
|
||||
{ name: 'Persistent Wallet Tests', file: 'persistent-wallet.test.js' },
|
||||
];
|
||||
|
||||
if (runIntegration) {
|
||||
|
||||
Reference in New Issue
Block a user