Type alias WrappedActions

WrappedActions: {
    [fnName: string]: ReturnType<typeof cy.stub | typeof cy.spy>;
}

Object of function name keys to stubbed actions values. Might be more likely that you'd access these stubs via cy.get("@actions")

Type declaration

  • [fnName: string]: ReturnType<typeof cy.stub | typeof cy.spy>