import { emptySetup } from '@celo/dev-utils/lib/ganache-setup' ; import { waitForPortOpen } from '@celo/dev-utils/lib/network' ; export default async function setup ( ) { console . log ( '\nstarting ganache...' ) ; await emptySetup ( { } ) ; await waitForPortOpen ( 'localhost' , 8545 , 60 ) ; console . log ( '...ganache started' ) ; }