UNPKG

visreg-test

Version:

A visual regression testing solution that offers an easy setup with simple yet powerful customisation options, wrapped up in a convenient CLI runner to make assessing and accepting/rejecting diffs a breeze.

11 lines (10 loc) 323 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const express = require('express'); const router = express.Router(); router.post('/terminate-process', (req, res) => { console.log('Terminating process'); res.send('Terminating process'); process.exit(); }); exports.default = router;