stryker
Version:
The extendable JavaScript mutation testing framework
22 lines • 1.02 kB
TypeScript
export default class ChildProcessProxyWorker {
private log;
realSubject: any;
constructor();
private send;
private handleMessage;
private doCall;
/**
* Remove any addition message listeners that might me eavesdropping.
* the @ngtools/webpack plugin listens to messages and throws an error whenever it could not handle a message
* @see https://github.com/angular/angular-cli/blob/f776d3cf7982b64734c57fe4407434e9f4ec09f7/packages/%40ngtools/webpack/src/type_checker.ts#L79
* @param exceptListener The listener that should remain
*/
private removeAnyAdditionalMessageListeners;
/**
* During mutation testing, it's to be expected that promise rejections are not handled synchronously anymore (or not at all)
* Let's handle those events so future versions of node don't crash
* See issue 350: https://github.com/stryker-mutator/stryker/issues/350
*/
private handlePromiseRejections;
}
//# sourceMappingURL=ChildProcessProxyWorker.d.ts.map