aboutsummaryrefslogtreecommitdiffstats
path: root/helpers/test.utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/test.utils.js')
-rw-r--r--helpers/test.utils.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/helpers/test.utils.js b/helpers/test.utils.js
deleted file mode 100644
index ea710fdc..00000000
--- a/helpers/test.utils.js
+++ /dev/null
@@ -1,26 +0,0 @@
-var chai = require('chai');
-var assert = chai.assert;
-var web3 = require('../../index');
-
-var FakeHttpProvider = require('./FakeHttpProvider');
-
-var methodExists = function (object, method) {
- it('should have method ' + method + ' implemented', function() {
- web3.setProvider(null);
- assert.equal('function', typeof object[method], 'method ' + method + ' is not implemented');
- });
-};
-
-var propertyExists = function (object, property) {
- it('should have property ' + property + ' implemented', function() {
- // set dummy providor, to prevent error
- web3.setProvider(new FakeHttpProvider());
- assert.notEqual('undefined', typeof object[property], 'property ' + property + ' is not implemented');
- });
-};
-
-module.exports = {
- methodExists: methodExists,
- propertyExists: propertyExists
-};
-