mirror of https://github.com/status-im/web3.js.git
17 lines
352 B
JavaScript
17 lines
352 B
JavaScript
|
var chai = require('chai');
|
||
|
var web3 = require('../index');
|
||
|
var testMethod = require('./helpers/test.method.js');
|
||
|
|
||
|
var method = 'putHex';
|
||
|
|
||
|
var tests = [{
|
||
|
args: ['myDB', 'myKey', '0xb'],
|
||
|
formattedArgs: ['myDB', 'myKey', '0xb'],
|
||
|
result: true,
|
||
|
formattedResult: true,
|
||
|
call: 'db_'+ method
|
||
|
}];
|
||
|
|
||
|
testMethod.runTests('db', method, tests);
|
||
|
|