web3.js/test/errors.js

18 lines
375 B
JavaScript
Raw Permalink Normal View History

2015-06-25 07:34:16 +00:00
var chai = require('chai');
var assert = chai.assert;
var errors = require('../lib/web3/errors');
describe('lib/web3/method', function () {
describe('getCall', function () {
for(var key in errors) {
it('should return and error', function () {
assert.instanceOf(errors[key](), Error);
});
}
});
});