mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 20:13:47 +01:00
11 lines
309 B
TypeScript
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);
|
|
};
|