import { EventEmitter } from 'events' ; export default class DummyWebContents extends EventEmitter { constructor ( ) { super ( ) ; } send ( channel , ... args ) { this . emit ( channel , { } , ... args ) ; } }