wisemapping-frontend/packages/webapp/cypress/plugins/index.ts
2022-07-13 01:45:36 +00:00

11 lines
309 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);
};