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.

12 lines (11 loc) 424 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fetch_suite_config_1 = require("../../services/fetch-suite-config"); const express = require('express'); const router = express.Router(); router.post('/deliver-suite-config', (req, res) => { const { testConfig } = req.body; (0, fetch_suite_config_1.setSuiteConfigCache)(testConfig); res.send('ok'); }); exports.default = router;