web3.js/test/web3.db.getHex.js

15 lines
280 B
JavaScript
Raw Normal View History

2015-03-24 11:21:52 +00:00
var testMethod = require('./helpers/test.method.js');
var method = 'getHex';
var tests = [{
args: ['myDB', 'myKey'],
formattedArgs: ['myDB', 'myKey'],
result: '0xf',
formattedResult: '0xf',
call: 'db_'+ method
}];
testMethod.runTests('db', method, tests);