mirror of https://github.com/status-im/web3.js.git
18 lines
375 B
JavaScript
18 lines
375 B
JavaScript
|
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);
|
||
|
});
|
||
|
}
|
||
|
|
||
|
});
|
||
|
});
|
||
|
|