web3.js/test/web3.eth.getCompilers.js

24 lines
460 B
JavaScript

var chai = require('chai');
var web3 = require('../index');
var testMethod = require('./helpers/test.method.js');
var method = 'getCompilers';
var tests = [{
args: [],
formattedArgs: [],
result: ['solidity'],
formattedResult: ['solidity'],
call: 'eth_'+ method
},{
args: [],
formattedArgs: [],
result: ['solidity'],
formattedResult: ['solidity'],
call: 'eth_'+ method
}];
testMethod.runTests('eth', method, tests);