wisemapping-frontend/packages/webapp/cypress/plugins/index.ts
2021-12-24 19:26:38 +00:00

11 lines
315 B
TypeScript

const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');
/**
* @type {Cypress.PluginConfig}
*/
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
addMatchImageSnapshotPlugin(on, config);
};