You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
375 B
17 lines
375 B
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);
|
|
});
|
|
}
|
|
|
|
});
|
|
});
|
|
|
|
|