* Test helpers no longer rely on Babel. * Behaviours are no longer imported. * Removed Babel dependency. * Fixed linter errors.
10 lines
207 B
JavaScript
10 lines
207 B
JavaScript
const pify = require('pify');
|
|
|
|
const ethAsync = pify(web3.eth);
|
|
|
|
module.exports = {
|
|
ethGetBalance: ethAsync.getBalance,
|
|
ethSendTransaction: ethAsync.sendTransaction,
|
|
ethGetBlock: ethAsync.getBlock,
|
|
};
|