ethers.js/tests/index.js

38 lines
1.1 KiB
JavaScript

'use strict';
console.log('Running test cases... (this can take a long time, please be patient)');
// 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');
// Test transactions
module.exports.testTrasactions = require('./test-transactions.js');
// 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');
// Test the secret storage JSON wallet encryption/decryption
module.exports.testSecretStorage = require('./test-secret-storage.js');
// Test the solidity encoding/decoding parameters
module.exports.testSolidityCoder = require('./test-solidity-coder.js');