// step1: require Etherlime module
const etherlime = require('etherlime-lib')
// step2: require compiled contract from ./build,
// not the .sol file (as in deployment scripts)
const LimeFactory = require('../build/LimeFactory.json')
// step4: replace 'contract' descriptor to 'describe',
// then remove (accounts) param in async function
describe('LimeFactory tests', async () => {
// step5: initialize account
// step6: set the deployer in before/beforeEach
// and fix the deployment scripts as we did before
beforeEach(async function() {
deployer = new etherlime.EtherlimeGanacheDeployer(owner.secretKey);
limeFactory = await deployer.deploy(LimeFactory);
it('should do something', () => {