UNPKG

backstopjs

Version:

BackstopJS: Catch CSS curveballs.

15 lines (13 loc) • 368 B
// Go get a hook to BackstopJS const backstop = require('../../core/runner'); // Run BackstopJS with docker // NOTE: passing either config file name or actual config object is supported. backstop('reference', { docker: false, config: 'backstop', filter: undefined, i: false }).then( () => console.log('nothing new'), () => console.log('changes found') );