Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "autoStubSetup"

Index

Functions

Functions

Const autoStubSetup

  • This function must be called in cypress/plugins/index.js like:

    module.exports = (on, config) => {
         autoStubSetup(on, {
             // Pass in global settings here
         })
    }

    You can also optionally pass in a globalSettings object , to configure sensible defaults for your application.

    Parameters

    • on: PluginEvents

      a handle the Cypress plugin events from cypress/plugins/index.js

    • globalSettings: AutoStubGlobalConfig

      globally defined settings

    Returns void

Generated using TypeDoc