web3.js/test/eth.protocolVersion.js

14 lines
255 B
JavaScript
Raw Normal View History

var testMethod = require('./helpers/test.method.js');
2016-09-12 15:20:20 +02:00
var method = 'getProtocolVersion';
var call = 'eth_protocolVersion';
2016-09-12 15:20:20 +02:00
var tests = [{
result: '12345',
formattedResult: '12345',
call: call
2016-09-12 15:20:20 +02:00
}];
testMethod.runTests('eth', method, tests);