From b35d034692b07b5b771ca9e1ba323a9b4d2d2f54 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 cacb660a4..3bb757c36 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 8fd82010a..9b3315ff7 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 842bd4407..cccabcac2 100644 --- a/test/accountParser.js +++ b/test/accountParser.js @@ -1,7 +1,7 @@ /*global describe, it*/ const assert = require('assert'); const sinon = require('sinon'); -const AccountParser = require('../lib/contracts/accountParser'); +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');