redoc/e2e/plugins/index.js

8 lines
275 B
JavaScript
Raw Normal View History

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