redoc/e2e/plugins/index.js
2018-09-27 11:31:08 +03:00

8 lines
275 B
JavaScript

const cypressTypeScriptPreprocessor = require('./cy-ts-preprocessor');
const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');
module.exports = on => {
on('file:preprocessor', cypressTypeScriptPreprocessor);
addMatchImageSnapshotPlugin(on);
};