ethers.js/tests/index.js

41 lines
1.2 KiB
JavaScript
Raw Normal View History

'use strict';
console.log('Running test cases... (this can take a long time, please be patient)');
2016-07-27 00:58:17 +03:00
// Test converting private keys to addresses
module.exports.testPrivateKeyToAddress = require('./test-privatekey.js');
// Test checksum addresses
module.exports.testChecksumAddress = require('./test-checksum-address.js');
// Test ICAP addresses
module.exports.testIcapAddress = require('./test-icap-address.js');
// Test ether strng formatting and parsing
module.exports.testEtherFormat = require('./test-ether-format.js');
2016-07-27 00:58:17 +03:00
// Test transactions
module.exports.testTrasactions = require('./test-transactions.js');
2016-07-27 00:58:17 +03:00
// Test Solidity encoding/decoding parameters
module.exports.testSolidityCoder = require('./test-solidity-coder.js');
// Test the contract meta-class
module.exports.testContracts = require('./test-contracts.js');
2016-07-27 00:58:17 +03:00
// Test the secret storage JSON wallet encryption/decryption
module.exports.testSecretStorage = require('./test-secret-storage.js');
2016-08-02 02:32:57 +03:00
// Test brain wallet generation
module.exports.testBrainWallet = require('./test-brain-wallet.js');
// Test the solidity encoding/decoding parameters
module.exports.testSolidityCoder = require('./test-solidity-coder.js');
2016-07-27 00:58:17 +03:00