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