blob: b1c459746a629c42e961d51f1ba380cc5813b00c (
plain) (
tree)
|
|
import * as fs from 'fs';
import { GanacheSubprovider } from '../../src/subproviders/ganache';
import { configs } from '../utils/configs';
const logger = {
log: (arg: any) => {
fs.appendFileSync('ganache.log', `${arg}\n`);
},
};
export const subprovider = new GanacheSubprovider({
logger,
verbose: false,
port: configs.port,
networkId: configs.networkId,
mnemonic: configs.mnemonic,
});
|