From b0a71a86d463f13ae31bfa0498f92b48866b4991 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 27 Jul 2018 14:43:39 -0400 Subject: [PATCH] move accountParser to utils --- lib/contracts/provider.js | 2 +- lib/tests/test.js | 2 +- lib/{contracts => utils}/accountParser.js | 0 test/accountParser.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename lib/{contracts => utils}/accountParser.js (100%) diff --git a/lib/contracts/provider.js b/lib/contracts/provider.js index eda801fd..9a2ae58d 100644 --- a/lib/contracts/provider.js +++ b/lib/contracts/provider.js @@ -1,5 +1,5 @@ const async = require('async'); -const AccountParser = require('./accountParser'); +const AccountParser = require('../utils/accountParser'); const fundAccount = require('./fundAccount'); class Provider { diff --git a/lib/tests/test.js b/lib/tests/test.js index 8fd82010..9b3315ff 100644 --- a/lib/tests/test.js +++ b/lib/tests/test.js @@ -5,7 +5,7 @@ const Web3 = require('web3'); const constants = require('../constants'); const Events = require('../core/events'); const cloneDeep = require('clone-deep'); -const AccountParser = require('../contracts/accountParser'); +const AccountParser = require('../utils/accountParser'); const Provider = require('../contracts/provider'); const utils = require('../utils/utils'); diff --git a/lib/contracts/accountParser.js b/lib/utils/accountParser.js similarity index 100% rename from lib/contracts/accountParser.js rename to lib/utils/accountParser.js diff --git a/test/accountParser.js b/test/accountParser.js index 1d5f4e74..a2e6f206 100644 --- a/test/accountParser.js +++ b/test/accountParser.js @@ -1,8 +1,8 @@ /*global describe, it*/ const assert = require('assert'); const sinon = require('sinon'); -const AccountParser = require('../lib/contracts/accountParser'); const utils = require('../lib/utils/utils'); +const AccountParser = require('../lib/utils/accountParser'); let TestLogger = require('../lib/tests/test_logger.js'); const Web3 = require('web3'); const i18n = require('../lib/core/i18n/i18n.js');