wisemapping-frontend/packages/webapp/cypress/plugins/index.ts

11 lines
309 B
TypeScript
Raw Permalink Normal View History

const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');
/**
* @type {Cypress.PluginConfig}
*/
module.exports = (on, config) => {
2022-07-13 03:45:36 +02:00
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
addMatchImageSnapshotPlugin(on, config);
};