From f5d8f48cf0bd5b2d59dfadc442324eac29d098d8 Mon Sep 17 00:00:00 2001 From: poma Date: Thu, 18 Jul 2019 21:38:21 +0300 Subject: [PATCH] move ganacheHelper --- {scripts => lib}/ganacheHelper.js | 0 test/MerkleTreeWithHistory.test.js | 2 +- test/Mixer.test.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => lib}/ganacheHelper.js (100%) diff --git a/scripts/ganacheHelper.js b/lib/ganacheHelper.js similarity index 100% rename from scripts/ganacheHelper.js rename to lib/ganacheHelper.js diff --git a/test/MerkleTreeWithHistory.test.js b/test/MerkleTreeWithHistory.test.js index 63a5cfb..5d0b2d8 100644 --- a/test/MerkleTreeWithHistory.test.js +++ b/test/MerkleTreeWithHistory.test.js @@ -4,7 +4,7 @@ require('chai') .use(require('chai-as-promised')) .should() -const { takeSnapshot, revertSnapshot } = require('../scripts/ganacheHelper') +const { takeSnapshot, revertSnapshot } = require('../lib/ganacheHelper') const MerkleTreeWithHistory = artifacts.require('./MerkleTreeWithHistoryMock.sol') const MiMC = artifacts.require('./MiMC.sol') diff --git a/test/Mixer.test.js b/test/Mixer.test.js index ba009ed..53a666b 100644 --- a/test/Mixer.test.js +++ b/test/Mixer.test.js @@ -6,7 +6,7 @@ require('chai') const fs = require('fs') const { toBN, toHex, randomHex } = require('web3-utils') -const { takeSnapshot, revertSnapshot } = require('../scripts/ganacheHelper') +const { takeSnapshot, revertSnapshot } = require('../lib/ganacheHelper') const Mixer = artifacts.require('./Mixer.sol') const { AMOUNT, MERKLE_TREE_HEIGHT, EMPTY_ELEMENT } = process.env