mirror of https://github.com/status-im/web3.js.git
18 lines
635 B
JavaScript
18 lines
635 B
JavaScript
|
var chai = require('chai');
|
||
|
var web3 = require('../index');
|
||
|
var testMethod = require('./helpers/test.method.js');
|
||
|
|
||
|
var method = 'submitWork';
|
||
|
|
||
|
var tests = [
|
||
|
{
|
||
|
args: ['0x567890abcdef5555', '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', '0xcdef1234567890abcdef1234567890abcdef0x1234567890abcf1234567890ab'],
|
||
|
formattedArgs: ['0x567890abcdef5555', '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', '0xcdef1234567890abcdef1234567890abcdef0x1234567890abcf1234567890ab'],
|
||
|
result: true,
|
||
|
formattedResult: true,
|
||
|
call: 'eth_'+ method
|
||
|
}];
|
||
|
|
||
|
testMethod.runTests('eth', method, tests);
|
||
|
|