Merge commit 'ab745d3b0eb89d67db1ed953020c665be3d072ed' into develop
Conflicts: libjsqrc/ethereumjs/.travis.yml libjsqrc/ethereumjs/README.md libjsqrc/ethereumjs/dist/ethereum.js libjsqrc/ethereumjs/dist/ethereum.js.map libjsqrc/ethereumjs/lib/abi.js libjsqrc/ethereumjs/package.json
This commit is contained in:
15
test/utils.js
Normal file
15
test/utils.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var assert = require('assert');
|
||||
|
||||
var methodExists = function (object, method) {
|
||||
assert.equal('function', typeof object[method], 'method ' + method + ' is not implemented');
|
||||
};
|
||||
|
||||
var propertyExists = function (object, property) {
|
||||
assert.equal('object', typeof object[property], 'property ' + property + ' is not implemented');
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
methodExists: methodExists,
|
||||
propertyExists: propertyExists
|
||||
};
|
||||
|
Reference in New Issue
Block a user