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