github.com/replicatedhq/ship@v0.55.0/web/app/cypress/plugins/index.js (about)

     1  // ***********************************************************
     2  // This example plugins/index.js can be used to load plugins
     3  //
     4  // You can change the location of this file or turn off loading
     5  // the plugins file with the 'pluginsFile' configuration option.
     6  //
     7  // You can read more here:
     8  // https://on.cypress.io/plugins-guide
     9  // ***********************************************************
    10  
    11  // This function is called when a project is opened or re-opened (e.g. due to
    12  // the project's config changing)
    13  
    14  module.exports = (on, config) => {
    15    // `on` is used to hook into various events Cypress emits
    16    // `config` is the resolved Cypress config
    17  }