X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=cypress%2Fplugins%2Findex.js;fp=cypress%2Fplugins%2Findex.js;h=aa9918d2153059ab3d866dba7b2f4e39e6d24d7c;hb=0666181cc32377d48501a42c465b08d3e660ab62;hp=0000000000000000000000000000000000000000;hpb=eab93e71804198f2079196b2a9058f971cb1577b;p=examples%2Fangular-tour-of-heroes diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js new file mode 100644 index 0000000..aa9918d --- /dev/null +++ b/cypress/plugins/index.js @@ -0,0 +1,21 @@ +/// +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +/** + * @type {Cypress.PluginConfig} + */ +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config +}