UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

23 lines (20 loc) 581 B
import { Sidecar } from "./lib/Sidecar"; import { PM_Node_Sidecar } from "./PM/nodeSidecar"; export abstract class NodeSidecar extends Sidecar { pm: PM_Node_Sidecar; constructor(t) { super(); this.pm = new PM_Node_Sidecar(t); this.pm.start(this.stop).then(() => { this.start(JSON.parse(process.argv[2])); }); } // start(t: ITTestResourceConfiguration) { // throw new Error("Method not implemented."); // } // stop() { // console.log("NewSideCar stop"); // // process.exit(); // throw new Error("STOP not implemented."); // } }