Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
stopMockServer() {
return mockTpa.stop();
},
failed: require("cypress-failed-log/src/failed")()
startMockServerWith(mockData) {
return mockTpa.startWithMockData(mockData);
},
stopMockServer() {
process.on("SIGTERM", () => {
mockTpa.stop();
});
const mockTpa = require("@times-components/mock-tpa-server");
mockTpa.start();
process.on("SIGTERM", () => {
mockTpa.stop();
});