go-ethereum/cmd/mist/assets/ext/ethereum.js/test/db.methods.js

15 lines
347 B
JavaScript

var assert = require('assert');
var web3 = require('../index.js');
var u = require('./utils.js');
describe('web3', function() {
describe('db', function() {
u.methodExists(web3.db, 'put');
u.methodExists(web3.db, 'get');
u.methodExists(web3.db, 'putString');
u.methodExists(web3.db, 'getString');
});
});