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

11 lines
315 B
TypeScript
Raw Normal View History

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