import { IGhcMod , GhcModCmdOpts } from '../../src/interfaces' ; export class TestGhcMod implements IGhcMod { private commandResults : string [ ] ; public constructor ( commandResults ) { this . commandResults = commandResults ; } public runGhcModCommand ( options ) { return Promise . resolve ( this . commandResults ) ; } public killProcess ( ) { return ; } }